# -*- coding: utf-8 -*-

from __future__ import unicode_literals

from django.conf.urls import url

from django_adyen import urlpatterns

from . import views

urlpatterns = [
    url(r'^payment-done/$', views.PaymentResultView.as_view(),
        name='payment-result'),
    url(r'^notify/$', views.NotificationView.as_view(),
        name='payment-notification')
] + urlpatterns

urls = urlpatterns, 'oscar-adyen', 'oscar-adyen'

# -*- coding: utf-8 -*-

from __future__ import unicode_literals

from django.conf.urls import url

from django_adyen import urlpatterns

urlpatterns = [
    url(r'^payment-done/$', 'oscar_adyen.views.payment_result',
        name='payment-result'),
    url(r'^notify/$', 'oscar_adyen.views.notification',
        name='payment-notification')
] + urlpatterns

urls = urlpatterns, 'oscar-adyen', 'oscar-adyen'

Allow importing oscar_adyen.mixins without importing oscar_adyen.views
Allow importing oscar_adyen.mixins without importing oscar_adyen.views
