# Path: apps/core/views/account.py
# def signup(request, social=False):
# def deactivate(request):
# 
# Path: apps/core/views/auth.py
# def login_core(request, session_name, template_name, get_user_func):
# def login(request):
#     def get_user_func(post_dict):
# def login_internal(request):
#     def get_user_func(post_dict):
# def logout(request):
# def init(request, mode, site):
# def callback(request):
# def callback_login(request, site, user, info):
# def callback_conn(request, site, user, info):
# def callback_renew(request, site, user, info):
# 
# Path: apps/core/views/password.py
# def change(request):
# def reset_email(request):
# def reset(request, tokenid):
# 
# Path: apps/core/views/profile.py
# def main(request):
# def disconnect(request, site):
# def email(request):
# def email_resend(request):
# def email_verify(request, tokenid):
# def service(request):
# def point(request):
# def log(request):


from django.conf import settings
from django.shortcuts import redirect
from django.urls import path
from apps.core.views import account, auth, password, profile
    path('connect/tw/', auth.init, {'mode': 'CONN', 'site': 'TW'}),

    path('callback', auth.callback),
    path('callback/', auth.callback),


    # package: account
    path('signup/', account.signup),
    path('signup/social/', account.signup, {'social': True}),

    path('deactivate/', account.deactivate),


    # package: profile
    path('profile/', profile.main),

    path('disconnect/fb/', profile.disconnect, {'site': 'FB'}),
    path('disconnect/tw/', profile.disconnect, {'site': 'TW'}),

    path('email/change/', profile.email),
    path('email/verify/', profile.email_resend),
    path('email/verify/<str:tokenid>/', profile.email_verify),

    path('log/', profile.log),
    path('point/', profile.point),
    path('service/', profile.service),


    # package: password
    path('password/change/', password.change),

# Path: apps/core/views/account.py
# def signup(request, social=False):
# def deactivate(request):
# 
# Path: apps/core/views/auth.py
# def login_core(request, session_name, template_name, get_user_func):
# def login(request):
#     def get_user_func(post_dict):
# def login_internal(request):
#     def get_user_func(post_dict):
# def logout(request):
# def init(request, mode, site):
# def callback(request):
# def callback_login(request, site, user, info):
# def callback_conn(request, site, user, info):
# def callback_renew(request, site, user, info):
# 
# Path: apps/core/views/password.py
# def change(request):
# def reset_email(request):
# def reset(request, tokenid):
# 
# Path: apps/core/views/profile.py
# def main(request):
# def disconnect(request, site):
# def email(request):
# def email_resend(request):
# def email_verify(request, tokenid):
# def service(request):
# def point(request):
# def log(request):


# Path: apps/core/urls.py
from django.conf import settings
from django.shortcuts import redirect
from django.urls import path
from apps.core.views import account, auth, password, profile

    path('connect/tw/', auth.init, {'mode': 'CONN', 'site': 'TW'}),

    path('callback', auth.callback),
    path('callback/', auth.callback),


    # package: account
    path('signup/', account.signup),
    path('signup/social/', account.signup, {'social': True}),

    path('deactivate/', account.deactivate),


    # package: profile
    path('profile/', profile.main),

    path('disconnect/fb/', profile.disconnect, {'site': 'FB'}),
    path('disconnect/tw/', profile.disconnect, {'site': 'TW'}),

    path('email/change/', profile.email),
    path('email/verify/', profile.email_resend),
    path('email/verify/<str:tokenid>/', profile.email_verify),

    path('log/', profile.log),
    path('point/', profile.point),
    path('service/', profile.service),


    # package: password
    path('password/change/', password.change),

    path('password/reset/', password.reset_email),