Created an URL for google validator

This commit is contained in:
Gergely Polonkai 2013-10-02 13:22:36 +02:00
parent 32d3366134
commit a662ee063b
2 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,9 @@
from django.shortcuts import render
from django.contrib.sites.models import get_current_site
from django.http import HttpResponse
def googlevalidator(request):
return HttpResponse('')
def resume(request):
return render(request, 'basics/resume.html', { 'site': get_current_site(request) })

View File

@ -5,10 +5,11 @@ admin.autodiscover()
urlpatterns = patterns('',
# Examples:
url(r'^$', 'blog.views.mainpage', name='home'),
url(r'^blog/', include('blog.urls', namespace='blog')),
url(r'^$', 'blog.views.mainpage', name='home'),
url(r'^google150e54bda5f96d97', 'basics.views.googlevalidator'),
url(r'^blog/', include('blog.urls', namespace='blog')),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('basics.urls', namespace='basics')),
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('basics.urls', namespace='basics')),
)