Google News
logo
Django - Interview Questions
What is the usage of Django-admin.py and manage.py?
Django-admin.py : It is a Django's command line utility for administrative tasks.
 
Manage.py : It is an automatically created file in each Django project. It is a thin wrapper around the Django-admin.py. It has the following usage:
 
* It puts your project's package on sys.path.
* It sets the DJANGO_SETTING_MODULE environment variable to points to your project's setting.py file.
Advertisement