# Path: core/views.py
# def about(request):
# def codeofconduct(request):
# 
# Path: proposals/views.py
# def index(request):
# def submit(request):
# def proposal(request, proposal_id, slug=None):
# def edit_proposal(request, proposal_id):
# def respond_to_proposal(request, proposal_id, *args, **kwargs):
# def edit_response(request, response_id):
# def amend_proposal(request, proposal_id):
# def delete_proposal(request, proposal_id):
# def share(request, proposal_id):
# 
# Path: comments/views.py
# def edit_comment(request, comment_id):
# def delete_comment(request, comment_id):
# 
# Path: moderation/views.py
# def hide_comment(request, comment_id):
# def hide_proposal(request, proposal_id):
# def comment_hides(request):
# def proposal_hides(request):
# def report_comment(request, comment_id):
# def report_proposal(request, proposal_id):
# def moderator_panel(request):
# 
# Path: users/views.py
# RAND_NAMES = ['Tonja', 'Kaley', 'Bo', 'Tobias', 'Jacqui', 'Lorena', 'Isaac',
#               'Adriene', 'Tuan', 'Shanon', 'Georgette', 'Chas', 'Yuonne',
#               'Michelina', 'Juliana', 'Odell', 'Juliet', 'Carli', 'Asha',
#               'Pearl', 'Kamala', 'Rubie', 'Elmer', 'Taren', 'Salley',
#               'Raymonde', 'Shelba', 'Alison', 'Wilburn', 'Katy',
#               'Denyse', 'Rosemary', 'Brooke', 'Carson', 'Tashina', 'Kristi',
#               'Aline', 'Yevette', 'Eden', 'Christoper', 'Juana', 'Marcie',
#               'Wendell', 'Vonda', 'Dania', 'Sheron', 'Meta', 'Frank', 'Thad',
#               'Cherise']
# def request_login(request):
# def generate_new_user(request):
# def profile(request, slug):
# def logout(request):
# def login(request):
# def prepare_new_user(request):
# def follow_tags_form(request):
# 
# Path: tags/views.py
# def tag(request, tagId, slug):
# def tags_list(request):
# def follow_tag(request, tag_id):
# 
# Path: search/views.py
# def search(request):


from django.conf.urls import patterns, include, url
from django.contrib import admin
from core import views as core_views
from proposals import views as proposal_views
from comments import views as comment_views
from moderation import views as moderation_views
from users import views as user_views
from tags import views as tag_views
from search import views as search_views
"""URL patterns for all apps"""


admin.autodiscover()

urlpatterns = patterns('',
    # API v1
    url(r'^api/v1/', include("api_v1.urls", namespace="api_v1")),

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

    # Notifications
    url(r'notifications/',
        include("notifications.urls",
                namespace="notifications")),

    # Users
    url(r'^logout/$', user_views.logout, name="logout"),
    url(r'^login/$', user_views.login, name="login"),
    url(r'^user/(?P<slug>[\w-]+)', user_views.profile, name="user"),
    url(r'^welcome/', user_views.prepare_new_user, name="prepare_new_user"),

    # Proposals
    url(r'^$', proposal_views.index, name="frontpage"),

# Path: core/views.py
# def about(request):
# def codeofconduct(request):
# 
# Path: proposals/views.py
# def index(request):
# def submit(request):
# def proposal(request, proposal_id, slug=None):
# def edit_proposal(request, proposal_id):
# def respond_to_proposal(request, proposal_id, *args, **kwargs):
# def edit_response(request, response_id):
# def amend_proposal(request, proposal_id):
# def delete_proposal(request, proposal_id):
# def share(request, proposal_id):
# 
# Path: comments/views.py
# def edit_comment(request, comment_id):
# def delete_comment(request, comment_id):
# 
# Path: moderation/views.py
# def hide_comment(request, comment_id):
# def hide_proposal(request, proposal_id):
# def comment_hides(request):
# def proposal_hides(request):
# def report_comment(request, comment_id):
# def report_proposal(request, proposal_id):
# def moderator_panel(request):
# 
# Path: users/views.py
# RAND_NAMES = ['Tonja', 'Kaley', 'Bo', 'Tobias', 'Jacqui', 'Lorena', 'Isaac',
#               'Adriene', 'Tuan', 'Shanon', 'Georgette', 'Chas', 'Yuonne',
#               'Michelina', 'Juliana', 'Odell', 'Juliet', 'Carli', 'Asha',
#               'Pearl', 'Kamala', 'Rubie', 'Elmer', 'Taren', 'Salley',
#               'Raymonde', 'Shelba', 'Alison', 'Wilburn', 'Katy',
#               'Denyse', 'Rosemary', 'Brooke', 'Carson', 'Tashina', 'Kristi',
#               'Aline', 'Yevette', 'Eden', 'Christoper', 'Juana', 'Marcie',
#               'Wendell', 'Vonda', 'Dania', 'Sheron', 'Meta', 'Frank', 'Thad',
#               'Cherise']
# def request_login(request):
# def generate_new_user(request):
# def profile(request, slug):
# def logout(request):
# def login(request):
# def prepare_new_user(request):
# def follow_tags_form(request):
# 
# Path: tags/views.py
# def tag(request, tagId, slug):
# def tags_list(request):
# def follow_tag(request, tag_id):
# 
# Path: search/views.py
# def search(request):


# Path: core/urls.py
from django.conf.urls import patterns, include, url
from django.contrib import admin
from core import views as core_views
from proposals import views as proposal_views
from comments import views as comment_views
from moderation import views as moderation_views
from users import views as user_views
from tags import views as tag_views
from search import views as search_views

"""URL patterns for all apps"""


admin.autodiscover()

urlpatterns = patterns('',
    # API v1
    url(r'^api/v1/', include("api_v1.urls", namespace="api_v1")),

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

    # Notifications
    url(r'notifications/',
        include("notifications.urls",
                namespace="notifications")),

    # Users
    url(r'^logout/$', user_views.logout, name="logout"),
    url(r'^login/$', user_views.login, name="login"),
    url(r'^user/(?P<slug>[\w-]+)', user_views.profile, name="user"),
    url(r'^welcome/', user_views.prepare_new_user, name="prepare_new_user"),

    # Proposals
    url(r'^$', proposal_views.index, name="frontpage"),

    url(r'^submit/', proposal_views.submit, name="submit"),