I found where to work on. The render_change_form function in the
options.py file where the render_change_form is invoked.
All the information seem to be available in that context.

Sergio

On Jun 14, 2:42 pm, "Sergio A." <sergio.andreo...@gmail.com> wrote:
> I need to identify where to overwrite the template selection, and in
> that place, if I can get current user.
> I have not found a proper solution yet.
>
> Sergio
>
> On Jun 11, 10:32 pm, phoebebright <phoebebri...@spamcop.net> wrote:
>
> > This post might help 
> > -http://groups.google.com/group/django-users/browse_thread/thread/c84d...
> > Not exactly what you want but might give you some ideas.
>
> > On Jun 11, 7:36 pm, "Sergio A." <sergio.andreo...@gmail.com> wrote:
>
> > > Hello,
>
> > > in this blog post:
>
> > >http://www.b-list.org/weblog/2008/dec/24/admin/
>
> > > it is explained how to list only data that someone owns and restrict
> > > edit permission.
> > > What I'd like to do is to list all the data, but let users change only
> > > those owned, while showing the rest for reading.
>
> > > This means that I should be able to compare logged user to the data
> > > owner and then select a proper template (to change/present) data.
>
> > > Any example on how to do this in the admin module?
>
> > > Thanks, Sergio
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to