From the course: Introduction to Django
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Default project files - Django Tutorial
From the course: Introduction to Django
Default project files
- Okay, so in the last lesson we looked at creating a new Django project from scratch using the django-admin startproject command. So what are the files that actually get created when we do that? We're going to look at each of them in order. So the first folder is the root folder that gets created. That's for your project. Then the manage.py file, you run that file to basically do anything with your Django project. So we've seen runserver that runs the development server, migrate will apply any migration files to the database, then createsuperuser created our initial user in the database who has staff and admin privileges. Shell is one you can use to run a Python console in your terminal that has access to the Django project. So you can like do Django stuff in there. If you change your models up, then you need to create a new migration file, which then can be migrated afterwards. So that would be running the makemigrations command. So if you want to see the full list of commands, you…