Simple django admin site for the cms golang project.
Make sure you point it to a prepopulated db and that the db has a schema called admin.
Using docker compose:
docker compose up --watch./run.sh uv run manage.py inspectdb --database=cms > cms/models_new.pyCopy the new stuff into cms/models.py and update the admin.py file. Be sure to check the new models for any errors.
See the docs for more information.
install:
./run.sh uv add <package==1.0.0>remove:
./run.sh uv remove <package>./run.sh uv run ruff format ../run.sh uv run ruff check --fix .migrate:
./run.sh uv run manage.py migrateCreate yourself a superuser:
./run.sh uv run manage.py createsuperuser --username=admin@example.com --email=admin@example.com