2013-02-05 14:20:26 -05:00
|
|
|
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
|
2013-02-05 15:06:31 -05:00
|
|
|
import web_utils
|
2013-02-05 14:20:26 -05:00
|
|
|
|
|
|
|
@login_required
|
|
|
|
def main(request):
|
2013-02-05 15:06:31 -05:00
|
|
|
return render_to_response("index", context_instance = RequestContext(request,
|
|
|
|
web_utils.template_resources()
|
|
|
|
))
|