# Path: apps/web/views.py
# LIMITS = {
#     'courses': 20,
#     'reviews': 5,
#     'unauthenticated_review_search': 3,
# }
# def get_session_id(request):
# def get_prior_course_id(request, current_course_id):
# def landing(request):
# def signup(request):
# def auth_login(request):
# def auth_logout(request):
# def confirmation(request):
# def current_term(request, sort):
# def course_detail(request, course_id):
# def departments(request):
# def course_search(request):
# def course_review_search(request, course_id):
# def medians(request, course_id):
# def course_professors(request, course_id):
# def vote(request, course_id):
# 
# Path: apps/analytics/views.py
# LIMIT = 15
# def home(request):
# def eligible_for_recommendations(request):
# def sentiment_labeler(request):
# 
# Path: apps/recommendations/views.py
# def recommendations(request):
# 
# Path: apps/spider/views.py
# def crawled_data_list(request):
# def crawled_data_detail(request, crawled_data_pk):


from django.conf.urls import include, url
from django.contrib import admin
from apps.web import views
from apps.analytics import views as aviews
from apps.recommendations import views as rviews
from apps.spider import views as spider_views
import django.contrib.auth.views as authviews
    3. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""


urlpatterns = [

    # administrative
    url(r'^admin/', admin.site.urls),
    url(r'^hijack/', include('hijack.urls')),

    # analytics
    url(r'^analytics/$', aviews.home, name='analytics_home'),
    url(r'^eligible_for_recommendations/$',
        aviews.eligible_for_recommendations,
        name='eligible_for_recommendations'),
    url(r'^sentiment_labeler/$',
        aviews.sentiment_labeler,
        name='sentiment_labeler'),

    # spider
    url(r'^spider/data/$',
        spider_views.crawled_data_list,
        name="crawled_datas"),
    url(r'^spider/data/(?P<crawled_data_pk>[0-9]+)$',
        spider_views.crawled_data_detail,
        name="crawled_data"),

    # primary views
    url(r'^$', views.landing, name="landing"),
    url(r'^(?P<sort>best|layups)/?', views.current_term, name="current_term"),

# Path: apps/web/views.py
# LIMITS = {
#     'courses': 20,
#     'reviews': 5,
#     'unauthenticated_review_search': 3,
# }
# def get_session_id(request):
# def get_prior_course_id(request, current_course_id):
# def landing(request):
# def signup(request):
# def auth_login(request):
# def auth_logout(request):
# def confirmation(request):
# def current_term(request, sort):
# def course_detail(request, course_id):
# def departments(request):
# def course_search(request):
# def course_review_search(request, course_id):
# def medians(request, course_id):
# def course_professors(request, course_id):
# def vote(request, course_id):
# 
# Path: apps/analytics/views.py
# LIMIT = 15
# def home(request):
# def eligible_for_recommendations(request):
# def sentiment_labeler(request):
# 
# Path: apps/recommendations/views.py
# def recommendations(request):
# 
# Path: apps/spider/views.py
# def crawled_data_list(request):
# def crawled_data_detail(request, crawled_data_pk):


# Path: layup_list/urls.py
from django.conf.urls import include, url
from django.contrib import admin
from apps.web import views
from apps.analytics import views as aviews
from apps.recommendations import views as rviews
from apps.spider import views as spider_views
import django.contrib.auth.views as authviews

    3. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
"""


urlpatterns = [

    # administrative
    url(r'^admin/', admin.site.urls),
    url(r'^hijack/', include('hijack.urls')),

    # analytics
    url(r'^analytics/$', aviews.home, name='analytics_home'),
    url(r'^eligible_for_recommendations/$',
        aviews.eligible_for_recommendations,
        name='eligible_for_recommendations'),
    url(r'^sentiment_labeler/$',
        aviews.sentiment_labeler,
        name='sentiment_labeler'),

    # spider
    url(r'^spider/data/$',
        spider_views.crawled_data_list,
        name="crawled_datas"),
    url(r'^spider/data/(?P<crawled_data_pk>[0-9]+)$',
        spider_views.crawled_data_detail,
        name="crawled_data"),

    # primary views
    url(r'^$', views.landing, name="landing"),
    url(r'^(?P<sort>best|layups)/?', views.current_term, name="current_term"),

    url(r'^search/?', views.course_search, name="course_search"),