- add app.storage.ManifestStaticFilesStorage tolerating directory static
refs (jazzmin renders {% static 'vendor/bootswatch' %}), still strict
for genuinely missing files
- point STORAGES staticfiles backend at it
- guard empty EMAIL_PORT/EMAIL_USE_TLS env values in production settings
- route admin under /backend/, use sqlite in production, add create_admin
- add pillow and django-tinymce deps
Udhamshil Nepal
A Django project folder structure is generated with djinitx/djinit/dj.
Setup
Using Just (Recommended)
-
Set environment variables in
.envfile -
Run setup (installs dependencies, runs migrations, creates superuser):
just setup -
Start development server:
just dev
Available Commands
Run just to see all available commands, including:
just dev- Run development serverjust migrate- Run migrationsjust makemigrations- Create migrationsjust createsuperuser- Create superuserjust test- Run testsjust lint- Lint codejust format- Format codejust shell- Django shelljust clean- Clean cache filesjust install <package>- Install packagejust remove <package>- Remove packagejust server- Run production serverjust ci- Run all linting and checksjust test-coverage- Run tests with coverage