Files
codeql/python/ql/test/query-tests/Security/lib/django/conf/urls.py
Rasmus Wriedt Larsen 5a0babe88b Python: Add support for Django 2.x and 3.x
I changed the django mock to support both 1.x and 2.x routing APIs, which is not
really a nice long term solution.
2020-02-18 11:22:35 +01:00

8 lines
159 B
Python

# https://docs.djangoproject.com/en/1.11/_modules/django/conf/urls/#url
def url(regex, view, kwargs=None, name=None):
pass
def patterns(*urls):
pass