from accounts import url_reset
from accounts.views import (about, contact, delivery, login, logout,
                            registration, return_policy, subscribe_mail,
                            user_profile)
from django.conf.urls import include, url

urlpatterns = [
    url(r"^logout/", logout, name="logout"),
    url(r"^login/", login, name="login"),
    url(r"^register/", registration, name="registration"),
    url(r"^profile/", user_profile, name="profile"),
    url(r"^password-reset/", include(url_reset)),
    url(r"^contact/", contact, name="contact"),
    url(r"^about/", about, name="about"),
    url(r"delivery/", delivery, name="delivery"),
    url(r"return-policy/", return_policy, name="return-policy"),
    url(r"(?P<mail>\w+)/subscribe", subscribe_mail, name="subscribe_mail"),
]
