addons-server/mkt/site/urls.py

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

from django.conf.urls import patterns, url
2012-02-22 22:45:32 +04:00
from jingo.views import direct_to_template
from . import views
2012-02-22 22:45:32 +04:00
urlpatterns = patterns('',
url('^mozmarket.js$', views.mozmarket_js, name='site.mozmarket_js'),
2012-02-22 22:45:32 +04:00
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'),
url('^csrf$', views.csrf, name='csrf'),
2012-05-02 03:48:08 +04:00
url('^timing/record$', views.record, name='mkt.timing.record'),
2012-02-22 22:45:32 +04:00
)