mirror of
https://github.com/github/codeql.git
synced 2025-12-25 13:16:33 +01:00
Note that in this case, since there is a known `django.urls.path` route-setup, we know that the request-handler will only be passed keyword arguments, so it is not a mistake that `*args` is not considered a routed-parameter here (although it certainly wouldn't have hurt us if we did consider it a routed-parameter either).
See README for django-v2-v3 which described how the project was set up.
Since this test project uses models (and a DB), you generally need to run there 3 commands:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Then visit http://127.0.0.1:8000/
References
Editing data
To edit data you should add an admin user (will prompt for password)
python manage.py createsuperuser --email admin@example.com --username admin