Moved core plugins to the new URL API

This commit is contained in:
Raphael Michel
2016-07-31 13:06:06 +02:00
parent c744ee93b9
commit 1fbb1352d9
7 changed files with 2 additions and 12 deletions

View File

@@ -1,10 +0,0 @@
from django.conf.urls import include, url
from .views import abort, success
urlpatterns = [
url(r'^(?P<organizer>[^/]+)/(?P<event>[^/]+)/paypal/', include([
url(r'^abort/$', abort, name='abort'),
url(r'^return/$', success, name='return'),
])),
]

View File

@@ -2,8 +2,8 @@ from django.conf.urls import include, url
from .views import abort, success
urlpatterns = [
url(r'^(?P<event>[^/]+)/paypal/', include([
event_patterns = [
url(r'^paypal/', include([
url(r'^abort/$', abort, name='abort'),
url(r'^return/$', success, name='return'),
])),