addons-server/mkt/site/urls.py

16 строки
510 B
Python
Исходник Обычный вид История

2012-02-22 22:45:32 +04:00
from django.conf.urls.defaults import patterns, url
from jingo.views import direct_to_template
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'),
url('^robots.txt$', views.robots, name='robots.txt'),
url('^manifest.webapp$', views.manifest, name='manifest.webapp'),
2012-02-22 22:45:32 +04:00
)