Beispiel #1
0
    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')
]
Beispiel #2
0
    # old tuto
    url(r'^profil/lier/$', add_oldtuto, name='member-add-oldtuto'),
    url(r'^profil/delier/$', remove_oldtuto, name='member-remove-oldtuto'),

    # moderation
    url(r'^profil/karmatiser/$', modify_karma, name='member-modify-karma'),
    url(r'^profil/modifier/(?P<user_pk>\d+)/$', modify_profile, name='member-modify-profile'),
    url(r'^parametres/mini_profil/(?P<user_name>.+)/$', settings_mini_profile, name='member-settings-mini-profile'),
    url(r'^profil/multi/(?P<ip_address>.+)/$', member_from_ip, name='member-from-ip'),

    # tutorials and articles
    url(r'^tutoriels/$', tutorials, name='member-tutorials'),
    url(r'^articles/$', articles, name='member-articles'),

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

    # 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/$', active_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')
]
Beispiel #3
0
        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')
]
Beispiel #4
0
    re_path(r'^parametres/casquettes/$',
            HatsSettings.as_view(), name='hats-settings'),
    re_path(r'^casquettes/demandes/$',
            RequestedHatsList.as_view(), name='requested-hats'),
    re_path(r'^casquettes/demandes/archives/$',
            SolvedHatRequestsList.as_view(), 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')
]