And specifically the @login_required decorator...
On Oct 13, 12:51 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Oct 13, 11:42 am, elminio <wgruszczyn...@gmail.com> wrote:
>
> > Hi,
>
> > By admin I can choose what users can do with model objects. And what
> > about certain pages. Do I have to write if in everyone view method (to
> > check is current user may access given view ?
>
> > Or is there any built in tool that makes it possible to restrict
> > access to given pages.
>
> > thanks for help
>
> http://docs.djangoproject.com/en/dev/topics/auth/
> --
> DR.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---