Files
codeql/python/ql/test/library-tests/frameworks/django-v2-v3
Rasmus Wriedt Larsen 51a25e45fe Python: Use shared prettyExpr in ConceptsTest.qll
This required quite some changes in the expected output. I think it's much more
clear what the selected nodes are now 👍 (but it was a bit boring work to fix
this up)
2021-05-19 17:10:33 +02:00
..

Tests for Django in version 2.x and 3.x.

This folder contains a runable django application generated with django-admin startproject testproj and django-admin startapp testapp.

To run the development server, install django (in venv), and run python manage.py runserver

To understand how things work, see


Note that from Django 2.0 only Python 3 is supported (enforced by options file).

As I see it, from a QL modeling perspective, the important part of Django 3.0 was the added support for ASGI (Asynchronous Server Gateway Interface), and Django 3.1 added support for async views, async middleware.

We currently don't have any tests specific to Django 3.0, since it's very compatible with Django 2.0 in general, but we could split the tests in the future.