SuperAPI AI Directory

django

Coding & development

View repository

Updated 10-15 21:48

About this skill

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

  1. Getting Started:django-admin startproject;startapp、settings、INSTALLED_APPS。
  2. Core: models, makemigrations/migrate; views, urls, templates; admin registration.
  3. 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