from django.conf.urls import patterns

from . import views

urlpatterns = patterns(
    # Prefix
    '',
    (
        r'auth/login$',
        views.LoginView.as_view()
    ),
    (
        r'auth/signup$',
        views.SignupView.as_view()
    ),
    (
        r'auth/forgot_password$',
        views.ForgotPasswordView.as_view()),
    (
        r'auth/reset_password$',
        views.ResetPasswordView.as_view()
    ),
    (
        r'users$',
        views.UsersView.as_view()
    ),
    (
        r'users/(?P<id>[-\w]+)$',
        views.SpecificUserView.as_view()
    ),
    (
        r'users/edit/me$',
        views.UserSettingsView.as_view()
    ),
    (
        r'users/edit/me/change_password$',
        views.ChangePasswordView.as_view()
    ),
)
