That's a good idea. I'll do that then. Thanks.
On Nov 3, 2:51 pm, ringemup 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, .
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 wrote:
> Hi,
>
> When creating normal views I can decorate the v
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 hav
3 matches
Mail list logo