From fls
Work with Django Sites framework, SiteAwareModel, and site isolation. Use when creating/modifying models, working with multi-tenancy, or when site context is involved.
npx claudepluginhub preludetech/django-craftThis skill is limited to using the following tools:
Uses Django Sites framework for automatic site isolation.
Provides Django 5.x expertise on async views, DRF, Celery, Django Channels for scalable web apps with architecture, testing, security, deployment.
Provides Django 5.x expertise for async views, DRF, Celery, Django Channels; builds scalable apps with architecture, ORM optimization, testing, deployment.
Develops production-grade Django web applications with models, views, ORM queries, authentication systems, and admin interfaces. Use for building web apps, managing databases via Django ORM, and implementing auth.
Share bugs, ideas, or general feedback.
Uses Django Sites framework for automatic site isolation.
Use this Skill when:
site ForeignKey + SiteAwareManager_thread_locals.request)get_queryset() automatically filters by current sitesite_id from thread-local requestResult: All queries automatically scope to current site.
SiteAwareModel for models that need site isolation (includes UUID pk + site FK)SiteAwareModelBase if you need site isolation but a custom primary keyget_queryset() automatically filters by current site — no manual filtering neededsite_id auto-populates from the current request — never set it manuallymock_site_context fixturefreedom_ls/site_aware_models/models.pyfreedom_ls/site_aware_models/middleware.pyfreedom_ls/site_aware_models/admin.py