Django Tutorial · Deploy Django

Create django.config

Learn all about Create django.config in this comprehensive tutorial.

5 min read advanced
  • We have chosen AWS as our hosting provider, and Elastic Beanstalk as a service to deploy the Django project, and it has some specific requirements.
  • It requires that you create a folder on the root level of your project called .
  • In the .

Provider-Specific Settings

We have chosen AWS as our hosting provider, and Elastic Beanstalk as a service to deploy the Django project, and it has some specific requirements.

.ebextension Folder

It requires that you create a folder on the root level of your project called .ebextensions:

python

Create django.config File

In the .ebextensions folder, create a file called django.config:

python

Open the file and insert these settings:

Note: Note: These steps are specific for AWS and Elastic beanstalk, but every provider has some provider-specific settings.

The next step is to wrap all the dependencies into one .zip file, which you will learn in the next chapter.

Module quiz

2 questions
1

Which of the following is true about Create django.config?

2

What is the most common pitfall when working with Create django.config?

Answer all questions to submit.