OK, so I've searched the group and the Internet looking for the answer to this questions, and the common answer seems to be "wrap the formwizard in a view." But I don't see any examples of how to do this. I currently have the formwizard embedded in the URLconf, and my attempt at "wrapping the formwizard in a view" still enables a user to directly access that URL without first logging in. Can someone post an example of "wrapping a formwizard in a view" that would require a user to login before getting to those forms?
Another question - Is there a way to add a "login required" setting to a URL pattern Here's what I've done: URLconf: ... (r'^(?P<org_id>\d+)/register_player/$',RegistrationWizard ([PlayerInfoForm, SportForm, UniformForm, AddressForm, VolunteerForm, InsuranceForm, PaymentTypeForm])), (r'^(?P<org_id>\d+)/signup/$', 'wagdogs.registration.views.signup'), ... View: @login_required() def signup(request, org_id): return HttpResponseRedirect('/registration/%s/register_player/' % org_id) Thanks, Jim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---