# coding=utf-8
from django.urls import path
# from AuthApp.js_views import *
# from AuthApp.import_funcs import *
from AuthApp.views import *
from django.contrib.auth import views

urlpatterns = [

    path('registration/', registration_View, name='registration_page'),
    # path('', user_profile_View, name='user_profile'),
    # path('page/chat/<int:user_id>/', chat_w_user_View, name='chat_w_user'),
    # path('page/chat/', chat_w_user_View, name='chat_w_user_wo_user_id'),

    path('page/<str:page_name>/', profile_page_View, name='profile_page'),
    path('page/<str:page_name>/<int:id>/', profile_page_View, name='profile_page_w_param'),

    # path('create_route_for_customer/', create_route_for_customer_View, name='create_route_for_customer_View'),
    # path('create_route_for_mover/', create_route_for_mover_View, name='create_route_for_mover_View'),

    path('login/', login_View, name='login_profile'),
    path('logout/', logout_View, name='logout_profile'),


    # ajax ----------------
    # url(r'^login$', user_login_View_ajax, name='user_login_View_ajax'),
    # url(r'^login_confirm$', user_login_confirm_ajax, name='user_login_confirm_ajax'),
    #
    # url(r'^logout$', user_logout_ajax, name='user_logout_View_ajax'),
    # url(r'^logout_confirm$', user_logout_confirm_ajax, name='user_logout_confirm_ajax'),
    #
    # url(r'^check_exists_email$', check_exists_email_ajax, name='check_exists_email_ajax'),
    #
    # url(r'^registration$', user_registration_View_ajax, name='user_registration_View_ajax'),
    # url(r'^user_registration_send_confirmation_mail$',
    #     user_registration_send_confirmation_mail_ajax, name='user_registration_send_confirmation_mail_ajax'),
    #
    # url(r'^password_recovery$', password_recovery_View_ajax, name='password_recovery_View_ajax'),
    # url(r'^password_reset$', password_reset_send_mail_ajax, name='password_reset_send_mail_ajax'),
    #
    # url(r'^registration_by_order_data_and_send_confirmation_mail$',
    #     registration_by_order_data_and_send_confirmation_mail_ajax, name='registration_by_order_data_and_send_confirmation_mail_ajax'),
    #
    #
    # # -----------------------
    #
    # url(r'^check_user_registration_and_activate/(?P<user_id>[\d+]*)/(?P<authCode>[0-9a-z\+\-\_]+)$',
    #     check_user_registration_and_activate,
    #     name='check_user_registration_and_activate'),
    #
    # # url(r'^user/password/reset/$',
    # #    'django.contrib.auth.views.password_reset',
    # #    {'post_reset_redirect' : '/user/password/reset/done/',
    # #     'password_reset_form': ResetForm
    # #     },
    # #    name="password_reset"),
    # # url(r'^user/password/reset/done/$', views.password_reset_done, name='password_reset_done'),
    # url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
    #     views.password_reset_confirm, name='password_reset_confirm'),
    # url(r'^reset/done/$', views.password_reset_complete, name='password_reset_complete'),
    #
    #
    # # import
    # url(r'^import_one_user/(?P<user_id>[\d+]*)$',
    #     import_json_mipp_user_by_id, name='import_one_mipp'),
    # url(r'^import_web_users$',
    #     import_json_mipp_webUsers, name='import_mipp_webUsers'),
    #
    # url(r'^import_invoices_for_user_by_user_id/(?P<user_id>[\d+]*)$',
    #     import_invoices_for_user_by_user_id, name='import_invoices_for_user_by_user_id'),

]