Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django LTS upgrades #6

Open
acdha opened this issue May 28, 2019 · 0 comments
Open

Django LTS upgrades #6

acdha opened this issue May 28, 2019 · 0 comments

Comments

@acdha
Copy link
Member

acdha commented May 28, 2019

Currently the tests will fail on Django 2.2 because they're not using the updated include syntax:

 File "/Users/cadams/Projects/django-tabular-export/tests/urls.py", line 7, in <module>
    urlpatterns = [url(r"^admin/", include(admin.site.urls))]
  File "/Users/cadams/Projects/django-tabular-export/.tox/py37/lib/python3.7/site-packages/django/urls/conf.py", line 27, in include
    'provide the namespace argument to include() instead.' % len(arg)
django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supported. Pass a 2-tuple containing the list of patterns and app_name, and provide the namespace argument to include() instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant