1
0
mirror of https://github.com/bspeice/Melodia synced 2024-11-16 04:58:20 -05:00
Melodia/web/views.py
Bradlee Speice c1bd19041a Initial web pages commit
Contains new templates, assets, url mappings, and views. A lot changed.
2013-01-24 13:44:43 -05:00

12 lines
402 B
Python

from django.http import HttpResponse
from django.contrib.auth.decorators import login_required
from django.template import RequestContext
from django.shortcuts import render_to_response
@login_required
def main(request):
return render_to_response("main", context_instance = RequestContext(request))
def login(request):
return render_to_response("login", context_instance = RequestContext(request))