Django Files:

By: Dusty Arlia
Published on Sunday, January 12, 2014, 12:31 PM
Last Updated on Tuesday, July 07, 2015 at 10:23 PM
Total Updates: 6

The file is a command-line utility that lets you interact with your Django project. is a Python file automatically created in each Django project. is a thin wrapper around that does a couple things before delegating does the following things:

  • Puts your project’s package on sys.path
  • Sets the DJANGO_SETTINGS_MODULE environment variable so that it points to your project’s file
  • It calls django.setup() to initialize various internals of Django

Here's a look at Django's default structure: