# -*- encoding: utf-8 -*-
"""
Copyright (c) 2021 ronyman.com
"""

from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static
from apps.user import views as user_views
from.views import EditProfilePage


urlpatterns = [
    #User
    path('admin/', admin.site.urls),
    path('register/', user_views.register, name='register'),
    path('login/', auth_views.LoginView.as_view(template_name='registration/login.html'), name='login'),
    path('profile/', user_views.profile, name='profile'),
    path('edit_profile/', user_views.edit_profile, name='edit_profile'),
    path("myprofile/", user_views.myprofile, name="Myprofile"),
    path('logout/', auth_views.LogoutView.as_view(template_name='users/logout.html'), name='logout'),
    #path('tinymce/', include('tinymce.urls')),
    path('edit_profile_page/', user_views.EditProfilePage.as_view(template_name='registration/edit_profile_page.html'), name='edit_profile_page'),
    # For PasswordPresset

    path('admin/password_reset/',auth_views.PasswordResetView.as_view(),name='admin_password_reset',),
    path('admin/password_reset/done/',auth_views.PasswordResetDoneView.as_view(),name='password_reset_done',),
    path('reset/<uidb64>/<token>/',auth_views.PasswordResetConfirmView.as_view(),name='password_reset_confirm',),
    path('reset/done/',auth_views.PasswordResetCompleteView.as_view(),name='password_reset_complete',),
]
[((17, 4, 17, 35), 'django.urls.path', 'path', ({(17, 9, 17, 17): '"""admin/"""', (17, 19, 17, 34): 'admin.site.urls'}, {}), "('admin/', admin.site.urls)", False, 'from django.urls import path, include\n'), ((18, 4, 18, 59), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((20, 4, 20, 56), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((21, 4, 21, 71), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((22, 4, 22, 62), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((19, 19, 19, 88), 'django.contrib.auth.views.LoginView.as_view', 'auth_views.LoginView.as_view', (), '', True, 'from django.contrib.auth import views as auth_views\n'), ((23, 20, 23, 84), 'django.contrib.auth.views.LogoutView.as_view', 'auth_views.LogoutView.as_view', (), '', True, 'from django.contrib.auth import views as auth_views\n'), ((25, 31, 25, 118), 'apps.user.views.EditProfilePage.as_view', 'user_views.EditProfilePage.as_view', (), '', True, 'from apps.user import views as user_views\n'), ((28, 33, 28, 71), 'django.contrib.auth.views.PasswordResetView.as_view', 'auth_views.PasswordResetView.as_view', ({}, {}), '()', True, 'from django.contrib.auth import views as auth_views\n'), ((29, 38, 29, 80), 'django.contrib.auth.views.PasswordResetDoneView.as_view', 'auth_views.PasswordResetDoneView.as_view', ({}, {}), '()', True, 'from django.contrib.auth import views as auth_views\n'), ((30, 35, 30, 80), 'django.contrib.auth.views.PasswordResetConfirmView.as_view', 'auth_views.PasswordResetConfirmView.as_view', ({}, {}), '()', True, 'from django.contrib.auth import views as auth_views\n'), ((31, 23, 31, 69), 'django.contrib.auth.views.PasswordResetCompleteView.as_view', 'auth_views.PasswordResetCompleteView.as_view', ({}, {}), '()', True, 'from django.contrib.auth import views as auth_views\n')]