django-oscar / django-oscar-docdata

Docdata Payments Gateway integration for django-oscar
Apache License 2.0
22 stars 11 forks source link

django 2.0 support #9

Closed jedie closed 5 years ago

jedie commented 5 years ago

django 2.0 support is not done, yet:

   File "foobar/urls.py", line 35, in <module>
     url(r'^dashboard/docdata/', include(docdata_app.urls)),
   File "/usr/local/lib/python3.6/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.
vdboor commented 5 years ago

Use this instead:

  url(r'^dashboard/docdata/', docdata_app.urls),