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/m/a/mattespill-HEAD/main/views.py   mattespill(Download)
from datetime import datetime
from mattespill.main.models import Question, Room, Turn, Result, UserProfile, Hint
from mattespill.main.forms import SignupForm
from re import match
from json import dumps
		if request.user.is_staff:
			if request.method == 'POST':
				form = SignupForm(data=request.POST)
				if form.is_valid():
					form.save();
					return HttpResponseRedirect('/manage/')
			form = SignupForm()