Skip to content

Commit

Permalink
Urls have changed in Django 1.10
Browse files Browse the repository at this point in the history
Not doing this results in the error:

ERRORS:
?: (urls.E004) Your URL pattern '' is invalid. Ensure that urlpatterns is a list of url() instances.
	HINT: Try removing the string ''. The list of urlpatterns should not have a prefix string as the first element.
  • Loading branch information
davidmiller committed Jan 25, 2018
1 parent 46e1866 commit 64967d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opal/scaffolding/plugin_scaffold/app/urls.py.jinja2
Expand Up @@ -6,6 +6,5 @@ from django.conf.urls import url
from {{ name }} import views

urlpatterns = [
'',
#url(pattern, view)
]

0 comments on commit 64967d0

Please sign in to comment.