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