add route for djangohosting
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
parent
395c2851ed
commit
b2c120fd9e
2 changed files with 4 additions and 0 deletions
|
@ -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'),
|
||||||
]
|
]
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue