views.py 425 Bytes
Newer Older
Jean Michel Rouly's avatar
Jean Michel Rouly committed
1 2 3
from go.models import URL
from django.contrib.auth.models import User
from django.shortcuts import render, get_object_or_404, redirect
4

Jean Michel Rouly's avatar
Jean Michel Rouly committed
5 6 7 8 9 10 11 12 13 14 15 16 17
# Homepage view.
def index(request):
    return render(request, 'index.html', {

    },
    )

# About page, static.
def about(request):
    return render(request, 'about.html', {

    },
    )
Jean Michel Rouly's avatar
Jean Michel Rouly committed
18 19 20 21 22 23 24

# Signup page.
def signup(request):
    return render(request, 'signup.html', {

    },
    )