Example #1
0
def index(request):
    form = TrackForm()
    
    if request.method == "POST":
        form = TrackForm(request.POST);
        t = Track()
        t.url = form.data['url'] 
        t.save()

    return render_to_response('index.html',locals())