Commit ef866349 authored by Chris Lamb's avatar Chris Lamb 💬

Add required app_name labels for include(...) and Django 2.x.

parent c44c2eaf
...@@ -2,4 +2,6 @@ from django.conf.urls import url ...@@ -2,4 +2,6 @@ from django.conf.urls import url
from . import views from . import views
app_name = 'api'
urlpatterns = (url(r'^api/submit$', views.submit, name='submit'),) urlpatterns = (url(r'^api/submit$', views.submit, name='submit'),)
...@@ -2,6 +2,8 @@ from django.conf.urls import url ...@@ -2,6 +2,8 @@ from django.conf.urls import url
from . import views from . import views
app_name = 'buildinfo_submissions'
urlpatterns = ( urlpatterns = (
url( url(
r'^(?P<sha1>\w{40})/(?P<filename>[^/]+)/(?P<slug>\w+).buildinfo$', r'^(?P<sha1>\w{40})/(?P<filename>[^/]+)/(?P<slug>\w+).buildinfo$',
......
...@@ -2,6 +2,7 @@ from django.conf.urls import url, include ...@@ -2,6 +2,7 @@ from django.conf.urls import url, include
from . import views from . import views
app_name = 'buildinfo'
urlpatterns = ( urlpatterns = (
url( url(
......
...@@ -2,6 +2,7 @@ from django.conf.urls import url ...@@ -2,6 +2,7 @@ from django.conf.urls import url
from . import views from . import views
app_name = 'packages'
urlpatterns = ( urlpatterns = (
url(r'^sources$', views.sources, name='sources'), url(r'^sources$', views.sources, name='sources'),
......
...@@ -2,4 +2,6 @@ from django.conf.urls import url ...@@ -2,4 +2,6 @@ from django.conf.urls import url
from . import views from . import views
app_name = 'static'
urlpatterns = (url(r'^$', views.landing, name='landing'),) urlpatterns = (url(r'^$', views.landing, name='landing'),)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment