add route for djangohosting

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-07-28 21:22:06 +02:00
parent 395c2851ed
commit b2c120fd9e
2 changed files with 4 additions and 0 deletions

View file

@ -5,4 +5,5 @@ from . import views
urlpatterns = [ urlpatterns = [
url(r'^$', views.index, name='index'), url(r'^$', views.index, name='index'),
url(r'beta$', views.beta, name='beta'), url(r'beta$', views.beta, name='beta'),
url(r'djangohosting$', views.djangohosting, name='djangohosting'),
] ]

View file

@ -29,5 +29,8 @@ def index(request):
return render(request, 'railshosting/index.html', context) return render(request, 'railshosting/index.html', context)
def djangohosting(request):
return render(request, 'railshosting/django.html')
def beta(request): def beta(request):
return render(request, 'railshosting/beta.html') return render(request, 'railshosting/beta.html')