That's a good idea. I'll do that then. Thanks.

On Nov 3, 2:51 pm, ringemup <ringe...@gmail.com> wrote:
> I use a wrapping view, rather like this:
>
> # urls.py
> (r'^my_url/?$', my_view, ...)
>
> # views.py
> @permission_required('some_permission')
> def my_view(request):
>   return MyWizard([Step1, Step2, Step3, ...])
>
> On Nov 3, 9:54 am, cootetom <coote...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > When creating normal views I can decorate the view with
> > @permission_required('some_permission') but when I'm using a
> > FormWizard class I don't know where to limit access to it based on
> > permissions? I have a FormWizard mapped to a URL:
>
> > (r'^my_url/?$', Wizard([Step1, Step2, Step3])),
>
> > Then I have the form class's and wizard class as needed. I'm stumped
> > as to where I might limit access to this URL based on permissions?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to