From b2c120fd9ea6e4682fe0d21c53a1cb37c098ca1c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 28 Jul 2015 21:22:06 +0200 Subject: [PATCH] add route for djangohosting Signed-off-by: Nico Schottelius --- railshosting/urls.py | 1 + railshosting/views.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/railshosting/urls.py b/railshosting/urls.py index 6d978854..97e91151 100644 --- a/railshosting/urls.py +++ b/railshosting/urls.py @@ -5,4 +5,5 @@ from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'beta$', views.beta, name='beta'), + url(r'djangohosting$', views.djangohosting, name='djangohosting'), ] diff --git a/railshosting/views.py b/railshosting/views.py index cc0a2909..d4ecf605 100644 --- a/railshosting/views.py +++ b/railshosting/views.py @@ -29,5 +29,8 @@ def index(request): return render(request, 'railshosting/index.html', context) +def djangohosting(request): + return render(request, 'railshosting/django.html') + def beta(request): return render(request, 'railshosting/beta.html')