QuickDevGuide

Home › Django

Project Structure & Settings — Django

A Django project is the configuration; apps are reusable feature modules inside it. manage.py commands you use daily Command Purpose startproject mysite . / startapp blog scaffold runserver dev server on :8000 makemigrations / migrate create / apply schema changes createsuperuser admin login shell REPL with Django loaded test run tests collectstatic gather static files for production Settings that matter INSTALLEDAPPS, DATABASES, DEBUG, ALLOWEDHOSTS, SECRETKEY, STATICROOT, TIMEZONE / USETZ. Read secrets from environment variables, never commit them.

Key Takeaways