On Tue, Jul 3, 2012 at 6:39 PM, Larry Martell <larry.mart...@gmail.com> wrote:
> I have a client that asked me to add some new functionality to their
> app, and then they said 'This new functionality should be controlled
> in Django admin so that only the admin user can see it.' Is there a
> way to control this in Django admin? I know in the python code i can
> check to see if they're the admin user or not and allow or disallow
> access, but what they're saying makes it seem I can just do it admin.
>

You haven't specified what you want to do, so it is hard to guide you.

The admin site is completely customisable. If you want an additional
admin page, you can add your own custom views:

https://docs.djangoproject.com/en/1.4/ref/contrib/admin/#adding-views-to-admin-sites

If you want to do things with a set of selected objects, you can add
your own custom actions:

https://docs.djangoproject.com/en/1.4/ref/contrib/admin/actions/#writing-actions

If you want more advice, you should describe the feature you have been
asked to implement.

Cheers

Tom

-- 
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