
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'


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

  
  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(),
+     url(r'^payment-done/$', 'oscar_adyen.views.payment_result',
          name='payment-result'),
-     url(r'^notify/$', views.NotificationView.as_view(),
+     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
## Code Before:

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'

## Instruction:
Allow importing oscar_adyen.mixins without importing oscar_adyen.views
## Code After:

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'
