When to use this skill
Use this skill whenever the user wants to:
- Create web applications with Django, ORM, admin, views, and routing
- Configure projects, apps, models, migrations, and deployment
How to use this skill
- Getting Started:django-admin startproject;startapp、settings、INSTALLED_APPS。
- Core: models, makemigrations/migrate; views, urls, templates; admin registration.
- Reference:https://docs.djangoproject.com/
Best Practices
- One app, one responsibility; model normalization and indexing.
- Keep views thin, put logic in the service or model layer; security and CSRF, permissions.
Keywords
django, ORM, MTV, migrations, Python Web