base template created
This commit is contained in:
parent
5666821682
commit
76a84e43c8
4 changed files with 422 additions and 366 deletions
|
|
@ -30,7 +30,26 @@ def index(request):
|
|||
return render(request, 'railshosting/index.html', context)
|
||||
|
||||
def djangohosting(request):
|
||||
return render(request, 'railshosting/django.html')
|
||||
context = {}
|
||||
|
||||
context["hosting"]="django"
|
||||
context["hosting_long"]="Django"
|
||||
context["domain"]="django-hosting.ch"
|
||||
context["google_analytics"]="the right id"
|
||||
context["email"]="info@django-hosting.ch"
|
||||
|
||||
return render(request, 'railshosting/django.html', context)
|
||||
|
||||
|
||||
def railshosting(request):
|
||||
context = {}
|
||||
|
||||
context["hosting"]="rails"
|
||||
context["hosting_long"]="Ruby On Rails"
|
||||
context["domain"]="rails-hosting.ch"
|
||||
context["google_analytics"]="the right id"
|
||||
context["email"]="info@rails-hosting.ch"
|
||||
|
||||
return render(request, 'railshosting/django.html', context)
|
||||
def beta(request):
|
||||
return render(request, 'railshosting/beta.html')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue