Tuesday, October 7, 2014

question about userprofile

Hello,

I'd like to emphasize that it is probably a newbie question but I
don't know what are the keyword I should use for googling. So any
information would be helpful.

I'm trying to add a userprofile to my django app. The idea is to use
a sign-in system so that the user depending on who is can have access to
certain pages.

I think I understand the login part that is I define a user for my app
and make onetoone correspondance with the user table of django. I didn't
implement that yet but I think it should be easy and well documented.
But after that I don't understand how I can use the information in the
user table (like the pages that the user is allowed to enter) in django
and how to set it somewhere. And also since I should change the menu to
reflect that the user can go or not to one page how can I send this info
to the template.

As I said any help is welcome.

sincerely


L.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/543444AE.2050602%40lpn.cnrs.fr.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment