Пример #1
0
from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.dotpay.views import ReturnView, OnlineView

urlpatterns = [
    url(r'^online/$', csrf_exempt(OnlineView.as_view()), name='online'),
    url(r'^return/(?P<pk>\d+)/$',
        csrf_exempt(ReturnView.as_view()),
        name='return'),
]
Пример #2
0
from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.dotpay.views import ReturnView
from getpaid.backends.dotpay.views import OnlineView

urlpatterns = patterns(
    '',
    url(r'^online/$',
        csrf_exempt(OnlineView.as_view()),
        name='getpaid-dotpay-online'),
    url(r'^return/(?P<pk>\d+)/$',
        csrf_exempt(ReturnView.as_view()),
        name='getpaid-dotpay-return'),
)
Пример #3
0
from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.dotpay.views import ReturnView
from getpaid.backends.dotpay.views import OnlineView

urlpatterns = [
    url(r'^online/$',
        csrf_exempt(OnlineView.as_view()),
        name='online'),
    url(r'^return/(?P<pk>\d+)/$',
        csrf_exempt(ReturnView.as_view()),
        name='return'),
]
Пример #4
0
from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.dotpay.views import ReturnView
from getpaid.backends.dotpay.views import OnlineView

urlpatterns = patterns('',
    url(r'^online/$', csrf_exempt(OnlineView.as_view()), name='online'),
    url(r'^return/(?P<pk>\d+)/$', csrf_exempt(ReturnView.as_view()), name='return'),

)
Пример #5
0
from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt

from getpaid.backends.dotpay.views import OnlineView
from getpaid.backends.dotpay.views import ReturnView

urlpatterns = [
    url(r'^online/$', csrf_exempt(OnlineView.as_view()), name='getpaid-dotpay-online'),
    url(r'^return/(?P<pk>\d+)/$', csrf_exempt(ReturnView.as_view()), name='getpaid-dotpay-return'),
]