from django.conf.urls import url from fossee_manim import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^register/$', views.user_register, name='register'), url(r'^activate_user/(?P.+)$', views.activate_user), url(r'^activate_user/$', views.activate_user), url(r'^login/$', views.user_login, name='login'), url(r'^logout/$', views.user_logout, name='logout'), url(r'^send_proposal/$', views.send_proposal, name='send_proposal'), url(r'^edit_proposal/([1-9][0-9]*)$', views.edit_proposal, name='edit_proposal'), url(r'^upload_animation/([1-9][0-9]*)$', views.upload_animation, name='upload_animation'), url(r'^proposal_status/$', views.proposal_status, name='proposal_status'), url(r'^search/$', views.search, name='search'), url(r'^guidelines/$', views.guidelines, name='guidelines'), url(r'^view_profile/$', views.view_profile, name='view_profile'), url(r'^edit_profile/$', views.edit_profile, name='edit_profile'), url(r'^video/([1-9][0-9]*)$', views.video, name='video'), url(r'^honorarium/$', views.honorarium, name='honorarium'), url(r'^faqs/$', views.faqs, name='faqs'), url(r'^search_category/(?P.+)$', views.search_category, name='search_category'), url(r'^about/$', views.about, name='about'), url(r'^outreach/$', views.outreach, name='outreach'), url(r'^library/$', views.library, name='library'), url(r'^libraryMath/$', views.libraryMath, name='libraryMath'), url(r'^libraryPhys/$', views.libraryPhys, name='libraryPhys'), url(r'^libraryCS/$', views.libraryCS, name='libraryCS'), url(r'^explore/(?P.+)$', views.explore, name='explore'), url(r'^delete_proposal/([1-9][0-9]*)$', views.delete_proposal, name='delete_proposal'), url(r'^delete_proposal_info/([1-9][0-9]*)$', views.delete_proposal_info, name='delete_proposal_info'), url(r'^sortproposal_released/$', views.sortproposal_released, name='sortproposal_released'), url(r'^sortproposal_rejected/$', views.sortproposal_rejected, name='sortproposal_rejected'), url(r'^sortproposal_changes/', views.sortproposal_changes, name='sortproposal_changes'), url(r'^sortproposal_pending/$', views.sortproposal_pending, name='sortproposal_pending'), url(r'^search_proposal/$', views.search_proposal, name='search_proposal'), ] urlpatterns += static( settings.MEDIA_URL, document_root=settings.MEDIA_ROOT )