Commit e816f318 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Added basic views.

parent 92fbff47
from django.shortcuts import render
from go.models import URL
from django.contrib.auth.models import User
from django.shortcuts import render, get_object_or_404, redirect
# Create your views here.
# Homepage view.
def index(request):
return render(request, 'index.html', {
},
)
# About page, static.
def about(request):
return render(request, 'about.html', {
},
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment