1
0
mirror of https://github.com/bspeice/Melodia synced 2024-11-16 13:08:26 -05:00
Melodia/web/views/index.py

14 lines
485 B
Python
Raw Normal View History

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
from web_utils import json_response as json
@login_required
def main(request):
return render_to_response("index", context_instance = RequestContext(request))