# Path: app/views/index_views.py
# RANDOM_BOOKS_COUNT = 6
# def index(request):
# def home(request):
# def login_response(request, username, password):
# def user_login(request):
# def is_user_exists(request, form):
# def is_mail_exists(request, form):
# def sign_in(request):
# def restore_data(request, form):
# 
# Path: app/views/additional_views.py
# def user_logout(request):
# def share_txt(request, file):
# def share_xml(request, file):
# def unsubscribe(request, token):
# def payment_success(request):
# 
# Path: app/views/add_book_views.py
# READ_PRIVILEGES = 0o644
# def add_book(request):
# def generate_authors(request, form):
# def generate_books(request, form):
# def add_book_successful(request, form):
# 
# Path: app/views/selected_book_views.py
# BOOK_COVER_HEIGHT = 350
# COMMENTS_PER_PAGE = 20
# COMMENTS_START_PAGE = 1
# RANDOM_BOOKS_COUNT = 6
# def selected_book(request, book_id):
# def store_image(request, form):
# def add_book_to_home(request, form):
# def remove_book_from_home(request, form):
# def change_rating(request, form):
# def set_rating(request, rating_form):
# def add_comment(request, form):
# def load_comments(request, form):
# def report_book(request, form):
# 
# Path: app/views/library_views.py
# MOST_READ_BOOKS_COUNT = 9
# def all_categories(request):
# def selected_category(request, category_id):
# def selected_author(request, author_id):
# def sort(request, form):
# def find_books(request, form):
# def load_books(request, category_id, form):
# 
# Path: app/views/read_book_views.py
# def open_book(request, book_id):
# def set_current_page(request, form):
# 
# Path: app/views/profile_views.py
# AVATAR_WIDTH = 250
# def profile(request, profile_id):
# def load_uploaded_books(request, profile_id, form):
# def upload_avatar(request):
# def change_password(request, form):
# 
# Path: app/views/about_views.py
# def about(request):
# def send_message(request, form):
# 
# Path: app/views/reminder_views.py
# def update_reminder(request):


from django.conf.urls import include, url
from django.conf.urls.static import static
from django.conf import settings
from django.contrib import admin
from app.views import (index_views, additional_views, add_book_views, selected_book_views, library_views,
                       read_book_views, profile_views, about_views, reminder_views)
# -*- coding: utf-8 -*-




handler404 = 'app.views.error_views.not_found_404'
handler400 = 'app.views.error_views.bad_request_400'
handler403 = 'app.views.error_views.permission_denied_403'
handler500 = 'app.views.error_views.internal_error_500'

urlpatterns = [
    url(settings.ADMIN_URL, include(admin.site.urls)),

    # API urls
    url(r'^api/v1/', include('api.urls')),

    # Index urls.

# Path: app/views/index_views.py
# RANDOM_BOOKS_COUNT = 6
# def index(request):
# def home(request):
# def login_response(request, username, password):
# def user_login(request):
# def is_user_exists(request, form):
# def is_mail_exists(request, form):
# def sign_in(request):
# def restore_data(request, form):
# 
# Path: app/views/additional_views.py
# def user_logout(request):
# def share_txt(request, file):
# def share_xml(request, file):
# def unsubscribe(request, token):
# def payment_success(request):
# 
# Path: app/views/add_book_views.py
# READ_PRIVILEGES = 0o644
# def add_book(request):
# def generate_authors(request, form):
# def generate_books(request, form):
# def add_book_successful(request, form):
# 
# Path: app/views/selected_book_views.py
# BOOK_COVER_HEIGHT = 350
# COMMENTS_PER_PAGE = 20
# COMMENTS_START_PAGE = 1
# RANDOM_BOOKS_COUNT = 6
# def selected_book(request, book_id):
# def store_image(request, form):
# def add_book_to_home(request, form):
# def remove_book_from_home(request, form):
# def change_rating(request, form):
# def set_rating(request, rating_form):
# def add_comment(request, form):
# def load_comments(request, form):
# def report_book(request, form):
# 
# Path: app/views/library_views.py
# MOST_READ_BOOKS_COUNT = 9
# def all_categories(request):
# def selected_category(request, category_id):
# def selected_author(request, author_id):
# def sort(request, form):
# def find_books(request, form):
# def load_books(request, category_id, form):
# 
# Path: app/views/read_book_views.py
# def open_book(request, book_id):
# def set_current_page(request, form):
# 
# Path: app/views/profile_views.py
# AVATAR_WIDTH = 250
# def profile(request, profile_id):
# def load_uploaded_books(request, profile_id, form):
# def upload_avatar(request):
# def change_password(request, form):
# 
# Path: app/views/about_views.py
# def about(request):
# def send_message(request, form):
# 
# Path: app/views/reminder_views.py
# def update_reminder(request):


# Path: Plamber/urls.py
from django.conf.urls import include, url
from django.conf.urls.static import static
from django.conf import settings
from django.contrib import admin
from app.views import (index_views, additional_views, add_book_views, selected_book_views, library_views,
                       read_book_views, profile_views, about_views, reminder_views)

# -*- coding: utf-8 -*-




handler404 = 'app.views.error_views.not_found_404'
handler400 = 'app.views.error_views.bad_request_400'
handler403 = 'app.views.error_views.permission_denied_403'
handler500 = 'app.views.error_views.internal_error_500'

urlpatterns = [
    url(settings.ADMIN_URL, include(admin.site.urls)),

    # API urls
    url(r'^api/v1/', include('api.urls')),

    # Index urls.

    url(r'^$', index_views.index, name='index'),