manage.py: Your Command Center
The everyday commands you run through manage.py.
manage.py: Your Command Center is a free Django Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Django Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Your Project's Remote Control
The manage.py file is the command center for your project. You run almost every Django task by calling it from the terminal. 🎮
It Knows Your Settings
Unlike the bare django-admin tool, manage.py already points at your settings.py. That is why commands just work inside your project.
The Basic Shape
Every command follows one pattern: python manage.py followed by the command name and any options you need.
python manage.py <command>Start the Dev Server
The runserver command launches a local server so you can view your site in the browser while you build.
python manage.py runserverPlan Schema Changes
The makemigrations command turns model edits into migration files that describe how your database should change.
python manage.py makemigrationsApply Those Changes
The migrate command runs your migrations against the database, actually creating or updating the tables.
python manage.py migrateCreate an Admin User
The createsuperuser command makes an account that can log into Django's admin site and manage your data.
python manage.py createsuperuserOpen the Live Shell
The shell command opens an interactive Python session with your project loaded, perfect for testing queries on the fly.
python manage.py shellMake a New App
You already met startapp, which also runs through manage.py. It scaffolds a fresh app folder inside your project.
python manage.py startapp shopDiscover Every Command
Run help to list all available commands, including ones added by your installed apps. It is a great way to explore.
python manage.py helpYou Can Add Your Own
Apps can define custom management commands too. Once added, they run through manage.py exactly like the built-in ones.
Quick Check
Which command actually applies migrations to the database?
Recap: Commands at Your Fingertips
You learned that manage.py drives your project: runserver, makemigrations, migrate, createsuperuser, shell, and more. It is your daily toolkit. 🚀
Frequently asked questions
Is the “manage.py: Your Command Center” lesson free?
Yes — the full text of “manage.py: Your Command Center” is free to read here on the web, and the Django Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Django Academy course, upgrade to CoddyKit PRO.
What will I learn in “manage.py: Your Command Center”?
The everyday commands you run through manage.py. You practise Django Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Django Academy?
No prior experience is required. Django Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “manage.py: Your Command Center” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Django Academy lesson?
Yes. Every Django Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- startapp and the App Folder Layout
- Register Apps in INSTALLED_APPS
- Touring settings.py
- manage.py: Your Command Center