Some time ago I ran into similar questions and what I found out is: the bottom line:
the admin is intended for admins and stuff, not users. That is people you trust, so you should never enable admin access for regular users. So I guess you are on the right way with copying from the admin views and templates. Ivo On Jun 24, 2011, at 2:27 AM, Alexei wrote: > Hi, > > I'm trying to create a simple application whose most important feature > is going to be to view/search the contents of my database. I have the > Admin site configured to exactly how I want the end product to look > (searching, filtering, etc.) but I'm having trouble porting this over > to the user (public) side of the app. I figured I would just subclass > the Admin classes, or just straight-up copy and paste the Admin code > and modify it from there, but it turned out to not be so simple. > > What's the easiest way to display the database to the end-user the > same way that the Admin interface does (without edit capabilities)? > It feels like such a waste to write everything from scratch when I > have what I want the end product to look like right in front of me. > > -Alexei > > -- > 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. > -- 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.