Files
codeql/python/ql/test/library-tests/frameworks/rest_framework
yoff 2e82990dfd Python: rebless CONSISTENCY queries + revert LongPath
- LongPath.expected: revert wrong rebless from 69c27c53c1b. CI generates
  the long-path file during build, so the long-path entry is correct.

- 4 framework/query DataFlowConsistency.expected: pure toString polish
  (ControlFlowNode for X -> X / After X).

- essa/ssa-compute/CONSISTENCY/TypeTrackingConsistency.expected: deleted.
  The 6 prior 'unreachable node in step of kind ...' violations are gone
  under the new SSA; per CI auto-rebless convention the empty file is
  removed.

- extractor-tests/syntax_error/CONSISTENCY/CfgConsistency.expected: new.
  Documents one expected deadEnd on `break` outside any loop in the
  syntax-error test corpus.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 21:09:49 +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