Esempio n. 1
0
from django.conf.urls import patterns, url
from views import PayView, SuccessView, FailureView

urlpatterns = patterns('',
    url(r'^w1ru/postback/$', PayView.as_view(), name='getpaid-w1ru-postback'),
    url(r'^w1ru/success/$', SuccessView.as_view(), name='getpaid-w1ru-success'),
    url(r'^w1ru/failure/$', FailureView.as_view(), name='getpaid-w1ru-failure'),
)
Esempio n. 2
0
from django.conf.urls.defaults import patterns, url
from django.views.decorators.csrf import csrf_exempt

from views import OnlineView
from views import SuccessView
from views import FailureView

urlpatterns = patterns('',
    url(r'^online/?$', csrf_exempt(OnlineView.as_view()), name='online'),
    url(r'^success/?$', csrf_exempt(SuccessView.as_view()), name='success'),
    url(r'^failure/?$', csrf_exempt(FailureView.as_view()), name='failure'),
)
Esempio n. 3
0
from views import ListOfSimulationsView, SedmlSimulationView
from views import LoginView, ActivateAccountView, ProfileView, AdminView
from views import ModelCompartmentsView, ModelOverviewView, ModelOverviewView_v2, ModelAnnotationsView
from views import ModelReactionsView, ModelRulesView, ModelSubmodelsView
from views import ModelSpeciesView, ModelParametersView
from views import ModelUnitsView, ModelEventsView, ModelMiscView
from views import SignUpView, SignUpSuccessView, ValidateEmailView
from views import TimeSeriesSimulationView, SteadyStateSimulationView

urlpatterns = [
    url(r'^admin_db/', include(admin.site.urls)),

    # Basic
    url(r'^$', ListOfProjectsView.as_view(), name='home'),
    url(r'^help/$', HelpView.as_view(), name='help'),
    url(r'^success/$', SuccessView.as_view(), name='success'),
    url(r'^profile/(.*)/$', ProfileView.as_view(), name='profile'),
    url(r'^admin/$', AdminView.as_view(), name='admin'),

    # Model import/export
    url(r'^project/([^/]+)/$', ListOfModelsView.as_view(), name='project'),
    url(r'^project_archive/$',
        GenerateCombineArchive.as_view(),
        name='project_archive_generic'),
    url(r'^project_archive/([^/]+)/$',
        GenerateCombineArchive.as_view(),
        name='project_archive'),
    url(r'^models/$', ListOfModelsView.as_view(), name='models'),

    # Authentication
    url(r'^accounts/register/$', SignUpView.as_view(), name='signup'),
Esempio n. 4
0
from django.conf.urls import patterns, url
from views import PayView, SuccessView, FailureView

urlpatterns = patterns('',
    url(r'^robokassa/postback/$', PayView.as_view(), name='robokassa-w1ru-postback'),
    url(r'^robokassa/success/$', SuccessView.as_view(), name='robokassa-w1ru-success'),
    url(r'^robokassa/failure/$', FailureView.as_view(), name='robokassa-w1ru-failure'),
)