How to use Nginx with your Django Docker Image

Why do you need a web server? Why should you use Nginx over Apache? And how do you use it for your Django application when you are using containers? You need a web server because you need something which will handle requests from clients — HTTP clients such as web browsers. Web servers are very …

Read more

How to containerize Django applications for beginners

Is your Django project ready for deployment and are you wondering how to best deploy it? You might’ve heard a lot of suggestions and most if it are about using Docker. You’ve heard Docker before and you know it’s one of the ideal ways to deploy your application but you don’t have any idea how …

Read more

5 Tips For A Solid Django Development – Deployment Flow

You’ve now finished your prototype and now you are ready to launch your passion project. You’ve previously finished one or two Django projects before but this is the first time that you are going to deploy the app and put it in front of an audience. You might be asking, What’s a solid development and …

Read more

How to handle file uploads with Django Rest Framework

How do you create an API with Django Rest Framework that support file uploads?What if your application needs to process the file immediately and return a response as soon as it is finished? The file sizes can vary and you may also need to delete the file as soon as you’ve finished processing it. DRF’s …

Read more

How to get the ID of the current form submission in Django

What if you need the ID of the model of the submitted form? How do you get the ID of the current form submission in Django? Maybe you tried getting it from the request object or probably queried it in the DB but all you’re getting are null errors. You can get the ID of …

Read more