mirror of
https://github.com/bspeice/Melodia
synced 2024-11-16 04:58:20 -05:00
c1bd19041a
Contains new templates, assets, url mappings, and views. A lot changed.
12 lines
402 B
Python
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))
|