New handling of plugin URLs (#609)

This commit is contained in:
Raphael Michel
2017-08-29 10:01:50 +03:00
committed by GitHub
parent 557a05135e
commit 43b5140754
13 changed files with 83 additions and 37 deletions

View File

@@ -1,12 +1,14 @@
from django.conf.urls import include, url
from .views import abort, event_webbook, refund, success, webhook
from pretix.multidomain import event_url
from .views import abort, refund, success, webhook
event_patterns = [
url(r'^paypal/', include([
url(r'^abort/$', abort, name='abort'),
url(r'^return/$', success, name='return'),
url(r'^webhook/$', event_webbook, name='webhook'),
event_url(r'^webhook/$', webhook, name='webhook', require_live=False),
])),
]