Did I find the right examples for you? yes no

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

src/d/j/django-preview-0.1/preview/views.py   django-preview(Download)
 
from preview.models import BetaSignup 
from preview.forms import BetaSignupForm
 
def signup(request):
    if request.method == 'POST':
        form = BetaSignupForm(request.POST)
            return redirect(reverse('preview_confirm'))
    else:
        form = BetaSignupForm()
    return render_to_response('preview/signup.html', {'form': form},
        context_instance=RequestContext(request))