Skip to content
Browse files

Add validation URL for Google Webmaster Tools.

  • Loading branch information...
1 parent e563946 commit a0907ff742c81b676f602d1e17d820152f95d22e @aaugustin aaugustin committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 django_docs/
6 django_docs/
@@ -1,10 +1,12 @@
from django.conf.urls import patterns, url, include
+from django.http import HttpResponse
from docs.sitemaps import DocsSitemap
from docs.urls import urlpatterns as docs_urlpatterns
sitemaps = {'docs': DocsSitemap}
-urlpatterns = patterns('',
+urlpatterns = docs_urlpatterns + patterns('',
url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),
-) + docs_urlpatterns
+ url(r'^google79eabba6bf6fd6d3\.html$', lambda req: HttpResponse('google-site-verification: google79eabba6bf6fd6d3.html')),

0 comments on commit a0907ff

Please sign in to comment.
Something went wrong with that request. Please try again.