Google validator link is now a simple empty HttpResponse instead of a full-blown view
This commit is contained in:
parent
01a641a4c9
commit
37061fe7d7
@ -7,9 +7,6 @@ from django.core.urlresolvers import reverse
|
||||
from StringIO import StringIO
|
||||
from xhtml2pdf import pisa
|
||||
|
||||
def googlevalidator(request):
|
||||
return HttpResponse('')
|
||||
|
||||
def resumelink(request):
|
||||
return request.build_absolute_uri(reverse('basics:resumepdf'))
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
from django.conf.urls import patterns, include, url
|
||||
from django.views.generic import TemplateView
|
||||
from django.contrib import admin
|
||||
from django.http import HttpResponse
|
||||
|
||||
admin.autodiscover()
|
||||
|
||||
@ -17,7 +18,7 @@ urlpatterns = patterns('',
|
||||
),
|
||||
url(
|
||||
r'^google150e54bda5f96d97',
|
||||
'basics.views.googlevalidator'
|
||||
lambda r: HttpResponse("", mimetype="text/plain")
|
||||
),
|
||||
url(
|
||||
r'^robots\.txt$',
|
||||
|
Loading…
Reference in New Issue
Block a user