Yendex checking

remotes/origin/1203
Kotiuk Nazarii 11 years ago
parent 07054bcd83
commit 50d9aa8354
  1. 4
      proj/urls.py
  2. 6
      templates/client/simple_pages/yandex_check.html

@ -11,6 +11,9 @@ class Robot(TemplateView):
template_name = 'robots.txt'
content_type = 'text/plain'
class YandexCheck(TemplateView):
template_name = 'client/simple_pages/yandex_check.html'
from sitemaps import ExpoCard, ExpoCity, ExpoCountry, ExpoTheme, ExpoTag, ConfCard, ConfCity, ConfCountry, ConfTheme,\
ConfTag, NewsSiteMap, BlogsSiteMap, Additional, Important
@ -33,6 +36,7 @@ urlpatterns = patterns('',
url(r'^sitemap\.xml$', views.index, {'sitemaps': sitemaps}),
url(r'^sitemap-(?P<section>.+)\.xml$', views.sitemap, {'sitemaps': sitemaps}),
url(r'^robots.txt$', Robot.as_view()),
url(r'^yandex_4c326c16c916403e.html$', YandexCheck.as_view()),
url(r'^$', MainPageView.as_view()),
url(r'^page/', include('core.simple_urls')),
url(r'^theme/', include('theme.urls')),

@ -0,0 +1,6 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>Verification: 4c326c16c916403e</body>
</html>
Loading…
Cancel
Save