コード例 #1
0
ファイル: urls.py プロジェクト: josephcab/zds-site
        name='members-with-provider'),
    url(r'^fournisseurs-email/bannis/supprimer/(?P<provider_pk>\d+)/$', remove_banned_email_provider,
        name='remove-banned-email-provider'),

    # user rights
    url(r'^profil/promouvoir/(?P<user_pk>\d+)/$', settings_promote, name='member-settings-promote'),

    # hats
    url(r'^casquettes/$', HatsList.as_view(), name='hats-list'),
    url(r'^casquettes/(?P<pk>\d+)/$', HatDetail.as_view(), name='hat-detail'),
    url(r'^parametres/casquettes/$', HatsSettings.as_view(), name='hats-settings'),
    url(r'^casquettes/demandes/$', RequestedHatsList.as_view(), name='requested-hats'),
    url(r'^casquettes/demandes/archives/$', SolvedHatRequestsList.as_view(), name='solved-hat-requests'),
    url(r'^casquettes/demandes/(?P<pk>\d+)/$', HatRequestDetail.as_view(), name='hat-request'),
    url(r'^casquettes/demandes/(?P<request_pk>\d+)/resoudre/$', solve_hat_request, name='solve-hat-request'),
    url(r'^casquettes/ajouter/(?P<user_pk>\d+)/$', add_hat, name='add-hat'),
    url(r'^casquettes/retirer/(?P<user_pk>\d+)/(?P<hat_pk>\d+)/$', remove_hat, name='remove-hat'),

    # membership
    url(r'^connexion/$', login_view, name='member-login'),
    url(r'^deconnexion/$', logout_view, name='member-logout'),
    url(r'^inscription/$', RegisterView.as_view(), name='register-member'),
    url(r'^reinitialisation/$', forgot_password, name='member-forgot-password'),
    url(r'^validation/$', SendValidationEmailView.as_view(), name='send-validation-email'),
    url(r'^new_password/$', new_password, name='member-new-password'),
    url(r'^activation/$', activate_account, name='member-active-account'),
    url(r'^envoi_jeton/$', generate_token_account, name='member-generate-token-account'),
    url(r'^desinscrire/valider/$', unregister, name='member-unregister'),
    url(r'^desinscrire/avertissement/$', warning_unregister, name='member-warning-unregister')
]
コード例 #2
0
ファイル: urls.py プロジェクト: tuxmania/site-app
        name='solved-hat-requests'),
    url(r'^casquettes/demandes/(?P<pk>\d+)/$',
        HatRequestDetail.as_view(),
        name='hat-request'),
    url(r'^casquettes/demandes/(?P<request_pk>\d+)/resoudre/$',
        solve_hat_request,
        name='solve-hat-request'),
    url(r'^casquettes/ajouter/(?P<user_pk>\d+)/$', add_hat, name='add-hat'),
    url(r'^casquettes/retirer/(?P<user_pk>\d+)/(?P<hat_pk>\d+)/$',
        remove_hat,
        name='remove-hat'),

    # membership
    url(r'^connexion/$', login_view, name='member-login'),
    url(r'^deconnexion/$', logout_view, name='member-logout'),
    url(r'^inscription/$', RegisterView.as_view(), name='register-member'),
    url(r'^reinitialisation/$', forgot_password,
        name='member-forgot-password'),
    url(r'^validation/$',
        SendValidationEmailView.as_view(),
        name='send-validation-email'),
    url(r'^new_password/$', new_password, name='member-new-password'),
    url(r'^activation/$', activate_account, name='member-active-account'),
    url(r'^envoi_jeton/$',
        generate_token_account,
        name='member-generate-token-account'),
    url(r'^desinscrire/valider/$', unregister, name='member-unregister'),
    url(r'^desinscrire/avertissement/$',
        warning_unregister,
        name='member-warning-unregister')
]
コード例 #3
0
ファイル: urls.py プロジェクト: Vultik/zds-site
         name="solved-hat-requests"),
 re_path(r"^casquettes/demandes/(?P<pk>\d+)/$",
         HatRequestDetail.as_view(),
         name="hat-request"),
 re_path(r"^casquettes/demandes/(?P<request_pk>\d+)/resoudre/$",
         solve_hat_request,
         name="solve-hat-request"),
 re_path(r"^casquettes/ajouter/(?P<user_pk>\d+)/$", add_hat,
         name="add-hat"),
 re_path(r"^casquettes/retirer/(?P<user_pk>\d+)/(?P<hat_pk>\d+)/$",
         remove_hat,
         name="remove-hat"),
 # membership
 re_path(r"^connexion/$", login_view, name="member-login"),
 re_path(r"^deconnexion/$", logout_view, name="member-logout"),
 re_path(r"^inscription/$", RegisterView.as_view(), name="register-member"),
 re_path(r"^reinitialisation/$",
         forgot_password,
         name="member-forgot-password"),
 re_path(r"^validation/$",
         SendValidationEmailView.as_view(),
         name="send-validation-email"),
 re_path(r"^new_password/$", new_password, name="member-new-password"),
 re_path(r"^activation/$", activate_account, name="member-active-account"),
 re_path(r"^envoi_jeton/$",
         generate_token_account,
         name="member-generate-token-account"),
 re_path(r"^desinscrire/valider/$", unregister, name="member-unregister"),
 re_path(r"^desinscrire/avertissement/$",
         warning_unregister,
         name="member-warning-unregister"),