mirror of
https://github.com/bspeice/Melodia
synced 2024-11-16 13:08:26 -05:00
16 lines
527 B
Python
16 lines
527 B
Python
from django.http import HttpResponse
|
|
from django.contrib.auth.decorators import login_required
|
|
from django.contrib.auth import authenticate, login, forms
|
|
from django import forms as django_forms
|
|
from django.template import RequestContext
|
|
from django.shortcuts import render_to_response, redirect
|
|
|
|
#Melodia-specific utilities
|
|
import web_utils
|
|
|
|
@login_required
|
|
def main(request):
|
|
return render_to_response("index", context_instance = RequestContext(request,
|
|
web_utils.template_resources()
|
|
))
|