コード例 #1
0
ファイル: urls.py プロジェクト: slonix/django-getpaid
from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.przelewy24.views import OnlineView, SuccessView, FailureView

urlpatterns = patterns(
    '',
    url(r'^online/$',
        csrf_exempt(OnlineView.as_view()),
        name='getpaid-przelewy24-online'),
    url(r'^success/(?P<pk>\d+)/',
        csrf_exempt(SuccessView.as_view()),
        name='getpaid-przelewy24-success'),
    url(r'^failure/(?P<pk>\d+)/',
        csrf_exempt(FailureView.as_view()),
        name='getpaid-przelewy24-failure'),
)
コード例 #2
0
ファイル: urls.py プロジェクト: dcondeurra/django-getpaid
from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.przelewy24.views import OnlineView, SuccessView,\
    FailureView

urlpatterns = [
    url(r'^online/$',
        csrf_exempt(OnlineView.as_view()),
        name='online'),
    url(r'^success/(?P<pk>\d+)/',
        csrf_exempt(SuccessView.as_view()),
        name='success'),
    url(r'^failure/(?P<pk>\d+)/',
        csrf_exempt(FailureView.as_view()),
        name='failure'),
]
コード例 #3
0
ファイル: urls.py プロジェクト: 7wonders/django-getpaid
from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from getpaid.backends.przelewy24.views import OnlineView, SuccessView, FailureView

urlpatterns = patterns('',
    url(r'^online/$', csrf_exempt(OnlineView.as_view()), name='getpaid-przelewy24-online'),
    url(r'^success/(?P<pk>\d+)/', csrf_exempt(SuccessView.as_view()), name='getpaid-przelewy24-success'),
    url(r'^failure/(?P<pk>\d+)/', csrf_exempt(FailureView.as_view()), name='getpaid-przelewy24-failure'),

)