Files
codeql/python/ql/test/library-tests/frameworks/rest_framework
Owen Mansel-Chan 5a97348e78 python: Inline expectation should have space after $
This was a regex-find-replace from `# \$(?! )` (using a negative lookahead) to `# $ `.
2026-03-04 12:45:05 +00:00
..
2023-11-21 13:46:55 +01:00

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