mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
I changed the django mock to support both 1.x and 2.x routing APIs, which is not really a nice long term solution.
9 lines
331 B
Python
9 lines
331 B
Python
# see https://docs.djangoproject.com/en/1.11/_modules/django/shortcuts/#redirect
|
|
# https://github.com/django/django/blob/86908785076b2bbc31b908781da6b6ad1779b18b/django/shortcuts.py
|
|
|
|
def render(request, template_name, context=None, content_type=None, status=None, using=None):
|
|
pass
|
|
|
|
def redirect(to, *args, **kwargs):
|
|
pass
|