summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--combo/apps/gallery/urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/combo/apps/gallery/urls.py b/combo/apps/gallery/urls.py
index 9737a15..5fcfa05 100644
--- a/combo/apps/gallery/urls.py
+++ b/combo/apps/gallery/urls.py
@@ -14,11 +14,11 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from django.conf.urls import patterns, url
+from django.conf.urls import url
from . import views
-manager_urlpatterns = patterns('',
+manager_urlpatterns = [
url('^gallery/(?P<gallery_pk>\w+)/images/add/$', views.image_add,
name='combo-gallery-image-add'),
url('^gallery/(?P<gallery_pk>\w+)/order$', views.image_order,
@@ -27,4 +27,4 @@ manager_urlpatterns = patterns('',
name='combo-gallery-image-edit'),
url('^gallery/(?P<gallery_pk>\w+)/images/(?P<pk>\w+)/delete$', views.image_delete,
name='combo-gallery-image-delete'),
-)
+]