forked from rogerly/txt2wrk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
54 lines (42 loc) · 1.93 KB
/
urls.py
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
49
50
51
52
53
54
from django.conf import settings
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
from registration.views import register
from applicant.forms import ApplicantLoginForm
urlpatterns = patterns('',
# Example:
# (r'^txt2wrk/', include('txt2wrk.foo.urls')),
url(r'^$', 'prelaunch.views.splash', { 'template': 'about/splash.html', }, name='splash'),
url(r'^contact/$', 'prelaunch.views.contact', { 'template': 'about/contact.html', }, name='contact'),
url(r'^about/$', 'prelaunch.views.about', { 'template': 'about/about.html', }, name='about'),
url(r'^description/$', 'prelaunch.views.txt2wrk_details', {}, name='description'),
url(r'^unsubscribe/$', 'account.views.unsubscribe', { 'template': 'about/unsubscribe.html'}, name='unsubscribe'),
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
(r'^applicant/', include('applicant.urls')),
(r'^employer/', include('employer.urls')),
(r'^call/', include('call.urls')),
(r'^job/', include('job.urls')),
url(r'^static/(?P<path>.*)$', 'django.views.static.serve',
{
'document_root': settings.STATIC_MEDIA_PATH,
}),
url(r'^media/(?P<path>.*)$', 'django.views.static.serve',
{
'document_root': settings.STATIC_MEDIA_PATH,
}),
url(r'^receive_sms/', 'sms.views.receive_sms',
{
'template': 'sms/sms_response.html',
},
name='receive_sms'),
url (r'^assign_job/', 'job_recommendation.views.assign_job',
{ 'template': 'job/assign_job.html',},
name='assign_job'),
)