summaryrefslogtreecommitdiff
path: root/fossee_manim/urls.py
blob: 5c878694793f120b24be4aba404b0d951b1b0bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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<key>.+)$', 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<cat>.+)$', 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<category>.+)$', 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'),
]

urlpatterns += static(
                    settings.MEDIA_URL,
                    document_root=settings.MEDIA_ROOT
)