On Mar 11, 12:40 am, gbl <gary.ley...@gmail.com> wrote:
> The admin interface is perfect for the site I'm working on. Automatic
> pagination, customizable search fields, filter via boolean or date
> fields in a sidebar, clickable sorting on column headings. Easy to
> modify....
>
> Is there really no way to use all this code in a read-only situation?
>
> Do I have to rewrite all that code or is there some way to use what is
> already built in?
>
> Pointers to relevant docs would be great. It seems a variant of this
> question is asked frequently so I'm guessing there is no easy way to
> do this...but I ask anyway with fingers crossed.
>
> databrowse is cool as well but not customizable, nor as full featured
> as the admin interface
>
> The admin interface is nearly exactly what I need to view and search a
> database....but I don't want people editing what they're browsing and
> I need to customize the detail view a bit.
>
> I'm new to django so if this is truly basic and I've missed something
> my apologies.

As has been said in many other place - the Admin interface is designed
for Administrators - people who really do need to add, change and/or
delete data ... not just view it.  If you do need this option - have a
look at:
http://gremu.net/blog/2010/django-admin-read-only-permission/

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