Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (21 sloc) 0.813 kb
1777665 @d1ffuz0r create project
authored
1 from django.conf.urls.defaults import patterns, include, url
098e4dd @d1ffuz0r 0.0.1
authored
2 from lulz.views import home, addvacancy, full, addcomment, fetch, like
1777665 @d1ffuz0r create project
authored
3 import settings
4
5 # Uncomment the next two lines to enable the admin:
6 from django.contrib import admin
7 admin.autodiscover()
8
9 urlpatterns = patterns('',
098e4dd @d1ffuz0r 0.0.1
authored
10 url(r'^$', home),
1777665 @d1ffuz0r create project
authored
11 url(r'^admin/', include(admin.site.urls)),
12 url(r'^ajax/addvacancy/$', addvacancy),
098e4dd @d1ffuz0r 0.0.1
authored
13 url(r'^ajax/addcomment/$', addcomment),
1777665 @d1ffuz0r create project
authored
14 url(r'^ajax/full/$', full),
098e4dd @d1ffuz0r 0.0.1
authored
15 url(r'^ajax/fetch/$', fetch),
16 url(r'^ajax/like/$', like),
d7a595f @d1ffuz0r tests, fix for vote, send email, profuction settings
authored
17 url(r"^site_media/(?P<path>.*)$",
1777665 @d1ffuz0r create project
authored
18 "django.views.static.serve",
19 {"document_root": settings.MEDIA_ROOT}),
20 url(r"^static/(?P<path>.*)$",
21 "django.views.static.serve",
22 {"document_root": settings.STATIC_ROOT}),
23 )
Something went wrong with that request. Please try again.