2012-02-22 22:45:32 +04:00
|
|
|
from django.conf.urls.defaults import patterns, url
|
|
|
|
|
|
|
|
from jingo.views import direct_to_template
|
|
|
|
|
2012-02-29 04:18:09 +04:00
|
|
|
from . import views
|
|
|
|
|
2012-02-22 22:45:32 +04:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
url('^privacy-policy$', direct_to_template,
|
|
|
|
{'template': 'site/privacy-policy.html'}, name='site.privacy'),
|
2012-02-23 02:53:32 +04:00
|
|
|
url('^terms-of-use$', direct_to_template,
|
|
|
|
{'template': 'site/terms-of-use.html'}, name='site.terms'),
|
2012-02-29 04:18:09 +04:00
|
|
|
url('^robots.txt$', views.robots, name='robots.txt'),
|
2012-02-22 22:45:32 +04:00
|
|
|
)
|