Bump Django dependency to the latest available (#243)
* Bump Django dependency to the latest available Fixes #242 * Use the new django.urls API
This commit is contained in:
@@ -29,7 +29,7 @@ RUN set -ex \
|
||||
psycopg2 \
|
||||
dj-database-url \
|
||||
mysqlclient \
|
||||
&& pip install -U django==1.10 \
|
||||
&& pip install -U django>=1.11\
|
||||
&& apk del .build-deps \
|
||||
&& addgroup -S mailman \
|
||||
&& adduser -S -G mailman mailman \
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
from django.core.urlresolvers import reverse_lazy
|
||||
from django.urls import reverse_lazy
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
Reference in New Issue
Block a user