|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
from django.conf.urls import url, include |
|
|
|
|
from django.contrib import admin |
|
|
|
|
from django.views.static import serve |
|
|
|
|
from finance.views import YandexCheckView, YandexAvisoView |
|
|
|
|
from finance.views import YandexCheckView, YandexAvisoView, DemoYandexCheckView, DemoYandexAvisoView |
|
|
|
|
|
|
|
|
|
from django.conf import settings |
|
|
|
|
|
|
|
|
|
@ -12,5 +12,7 @@ urlpatterns = [ |
|
|
|
|
url(r'^static/(?P<path>.*)/$', serve, {'document_root': settings.STATIC_ROOT}), |
|
|
|
|
url(r'^wallet/pay/check/$', YandexCheckView.as_view(), name='yandex_money_check'), |
|
|
|
|
url(r'^wallet/pay/result/$', YandexAvisoView.as_view(), name='yandex_money_notice'), |
|
|
|
|
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')) |
|
|
|
|
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')), |
|
|
|
|
url(r'^yandex-money/check/$', DemoYandexCheckView.as_view()), |
|
|
|
|
url(r'^yandex-money/aviso/$', DemoYandexAvisoView.as_view()) |
|
|
|
|
] |
|
|
|
|
|