diff options
Diffstat (limited to 'tests/admin_custom_urls')
-rw-r--r-- | tests/admin_custom_urls/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/admin_custom_urls/tests.py b/tests/admin_custom_urls/tests.py index e0c2d4f746..ebd3291f2c 100644 --- a/tests/admin_custom_urls/tests.py +++ b/tests/admin_custom_urls/tests.py @@ -1,4 +1,5 @@ from django.contrib.admin.utils import quote +from django.contrib.admin.views.main import IS_POPUP_VAR from django.contrib.auth.models import User from django.template.response import TemplateResponse from django.test import TestCase, override_settings @@ -58,7 +59,7 @@ class AdminCustomUrlsTest(TestCase): Ensure POST on add_view works. """ post_data = { - '_popup': '1', + IS_POPUP_VAR: '1', "name": 'Action added through a popup', "description": "Description of added action", } |