I think, overriding the admin template for specific application would
be the most straightforward solution:
* create a template in your template dir admin/yourapp/change_form.html
* show some field there only if request.user has some permissions.

Regards,
Aidas Bendoraitis [aka Archatas]


On 2/25/07, Mary <[EMAIL PROTECTED]> wrote:
>
> How can i create a field in a model that can't be seen by anyone that
> logs onto the admin interface except by certain user only
>
> Thank you in advance;
> Mary Adel
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to