from django.urls import path
from django.contrib.auth.views import LoginView, LogoutView
from . import views
from django_distill import distill_path
def get_index():
return None
def get_ageVerification():
return None
def get_register():
return None
def get_login():
return None
def get_profile():
return None
def get_message():
return None
def get_messages():
return None
def get_faq():
return None
def get_legal():
return None
urlpatterns = [
distill_path('', views.index, name='index', distill_func=get_index, distill_file="index.html"),
distill_path('ageVerification', views.ageVerification, name='ageVerification', distill_func=get_ageVerification),
distill_path('register', views.register, name="register", distill_func=get_register),
distill_path('login', LoginView.as_view(template_name='user/login.html'), name='login', distill_func=get_login),
path('logout', LogoutView.as_view(), name='logout'),
distill_path('accounts/profile/', views.profile, name="profileUser", distill_func=get_profile),
distill_path('message/<str:username>', views.message, name="message", distill_func=get_message),
distill_path('messages', views.messages, name="messages", distill_func=get_messages),
distill_path('faq', views.faq, name="faq", distill_func=get_faq),
distill_path('legal', views.legal, name="legal", distill_func=get_legal)
]