# Path: clubadm/views.py
# class _AjaxException(Exception):
# class _AjaxResponse(HttpResponse):
#     def __init__(self, data, status=200):
# def _ajax_view(member_required=False, match_required=False):
#     def decorator(func):
#         def view(request, *args, **kwargs):
# def _create_login_url(request, next):
# def _send_email(user_id, subject, body):
# def home(request):
# def welcome(request, year):
# def profile(request, year):
# def profile_legacy(request):
# def login(request):
# def callback(request):
# def unsubscribe(request):
# def signup(request):
# def signout(request):
# def send_mail(request):
# def read_mails(request):
# def send_gift(request):
# def receive_gift(request):
# def jserror(request):
# 
# Path: clubadm/admin.py
# class SeasonAdmin(admin.ModelAdmin):
# class MemberInline(admin.StackedInline):
# class UserAdmin(admin.ModelAdmin):
# class MemberAdmin(admin.ModelAdmin):
# class AdminSite(admin.AdminSite):
#     def get_readonly_fields(self, request, obj=None):
#     def has_delete_permission(self, request, obj=None):
#     def is_closed(self, obj):
#     def is_participatable(self, obj):
#     def match_members(self, request, queryset):
#     def give_badges(self, request, queryset):
#     def block_members(self, request, queryset):
#     def clear_cache(self, request, queryset):
#     def is_gift_sent(self, obj):
#     def is_gift_received(self, obj):
#     def has_add_permission(self, request):
#     def has_delete_permission(self, request, obj=None):
#     def construct_change_message(self, request, form, formsets, add=False):
#     def save_model(self, request, obj, form, change):
#     def view_on_site(self, obj):
#     def ban(self, request, queryset):
#     def get_karma(self, obj):
#     def get_avatar(self, obj):
#     def get_rating(self, obj):
#     def get_rights(self, obj):
#     def get_readonly_fields(self, request, obj=None):
#     def has_delete_permission(self, request, obj=None):
#     def is_gift_sent(self, obj):
#     def is_gift_received(self, obj):
#     def giftee_link(self, obj):
#     def santa_link(self, obj):
#     def has_permission(self, request):
#     def login(self, request, extra_context=None):


from django.conf import settings
from django.conf.urls import include, url
from django.contrib.auth.views import logout
from clubadm import views, admin
    import debug_toolbar



urlpatterns = [
    url(r"^$", views.home, name="home"),
    url(r"^login$", views.login, name="login"),
    url(r"^callback$", views.callback, name="callback"),
    url(r"^(?P<year>[0-9]{4})/$", views.welcome, name="welcome"),
    url(r"^(?P<year>[0-9]{4})/signup/$", views.signup, name="signup"),
    url(r"^(?P<year>[0-9]{4})/signout/$", views.signout, name="signout"),
    url(r"^(?P<year>[0-9]{4})/profile/$", views.profile, name="profile"),
    url(r"^(?P<year>[0-9]{4})/send_mail/$", views.send_mail, name="send_mail"),
    url(r"^(?P<year>[0-9]{4})/send_gift/$", views.send_gift, name="send_gift"),
    url(r"^(?P<year>[0-9]{4})/receive_gift/$", views.receive_gift, name="receive_gift"),

# Path: clubadm/views.py
# class _AjaxException(Exception):
# class _AjaxResponse(HttpResponse):
#     def __init__(self, data, status=200):
# def _ajax_view(member_required=False, match_required=False):
#     def decorator(func):
#         def view(request, *args, **kwargs):
# def _create_login_url(request, next):
# def _send_email(user_id, subject, body):
# def home(request):
# def welcome(request, year):
# def profile(request, year):
# def profile_legacy(request):
# def login(request):
# def callback(request):
# def unsubscribe(request):
# def signup(request):
# def signout(request):
# def send_mail(request):
# def read_mails(request):
# def send_gift(request):
# def receive_gift(request):
# def jserror(request):
# 
# Path: clubadm/admin.py
# class SeasonAdmin(admin.ModelAdmin):
# class MemberInline(admin.StackedInline):
# class UserAdmin(admin.ModelAdmin):
# class MemberAdmin(admin.ModelAdmin):
# class AdminSite(admin.AdminSite):
#     def get_readonly_fields(self, request, obj=None):
#     def has_delete_permission(self, request, obj=None):
#     def is_closed(self, obj):
#     def is_participatable(self, obj):
#     def match_members(self, request, queryset):
#     def give_badges(self, request, queryset):
#     def block_members(self, request, queryset):
#     def clear_cache(self, request, queryset):
#     def is_gift_sent(self, obj):
#     def is_gift_received(self, obj):
#     def has_add_permission(self, request):
#     def has_delete_permission(self, request, obj=None):
#     def construct_change_message(self, request, form, formsets, add=False):
#     def save_model(self, request, obj, form, change):
#     def view_on_site(self, obj):
#     def ban(self, request, queryset):
#     def get_karma(self, obj):
#     def get_avatar(self, obj):
#     def get_rating(self, obj):
#     def get_rights(self, obj):
#     def get_readonly_fields(self, request, obj=None):
#     def has_delete_permission(self, request, obj=None):
#     def is_gift_sent(self, obj):
#     def is_gift_received(self, obj):
#     def giftee_link(self, obj):
#     def santa_link(self, obj):
#     def has_permission(self, request):
#     def login(self, request, extra_context=None):


# Path: clubadm/urls.py
from django.conf import settings
from django.conf.urls import include, url
from django.contrib.auth.views import logout
from clubadm import views, admin
    import debug_toolbar




urlpatterns = [
    url(r"^$", views.home, name="home"),
    url(r"^login$", views.login, name="login"),
    url(r"^callback$", views.callback, name="callback"),
    url(r"^(?P<year>[0-9]{4})/$", views.welcome, name="welcome"),
    url(r"^(?P<year>[0-9]{4})/signup/$", views.signup, name="signup"),
    url(r"^(?P<year>[0-9]{4})/signout/$", views.signout, name="signout"),
    url(r"^(?P<year>[0-9]{4})/profile/$", views.profile, name="profile"),
    url(r"^(?P<year>[0-9]{4})/send_mail/$", views.send_mail, name="send_mail"),
    url(r"^(?P<year>[0-9]{4})/send_gift/$", views.send_gift, name="send_gift"),
    url(r"^(?P<year>[0-9]{4})/receive_gift/$", views.receive_gift, name="receive_gift"),

    url(r"^(?P<year>[0-9]{4})/read_mails/$", views.read_mails, name="read_mails"),