Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/a/t/ATP_Performance_Test-HEAD/ATP_Performance_Test/tuitter/views.py   ATP_Performance_Test(Download)
import time
 
from ATP_Performance_Test.tuitter.forms import AddTuitForm
from ATP_Performance_Test.tuitter.models import Tuit
 
@login_required
def add(request):
    if request.method == 'POST':
        form = AddTuitForm(request.POST)
            return HttpResponseRedirect(reverse('tuitter_show_tuit', args=[new_tuit.id]))
    else:
        form = AddTuitForm()
 
    return render_to_response("tuitter/add.html", {"form": form}, context_instance=RequestContext(request))