Am 14.12.2006 um 17:05 schrieb Daniel Kvasnicka jr.:

>
> Hi djangees,
> I'm a TurboGears user, I like CherryPy, Kid and so. I like Django as
> well and tried the tutorials.
> What I like about Django is (obviously) the auto-generated admin
> interface.
>
> However, what I need to know is how
> easy/difficult/deprecated/encouraged is to hack the auto-generated
> admin interface. I'm doing this app, where our customers login and  
> vote
> for features that we plan to implement in our services. And besides
> CRUD, I need to enable my boss to login and view a whole bunch of  
> stats
> about who voted for what and how is that particular guy important for
> us etc... So, my question is, how easy would it be to "add a page" to
> admin, that would have the same auth restrictions, same GUI but would
> only display bars and graphs generated from the DB? Or would you write
> an admin section from scratch in that case?

write custom views (or use generic views).
making your site _look_ like the admin is probably harder than  
writing the views.

adding a page to the admin is quite easy though:
just extend the index-template and link to your site ... and donĀ“t  
forget to use
myview = staff_member_required(never_cache(myview))

patrick


>
> Right now I'm writing everything on my own in TurboGears. It's not  
> bad,
> since auth/auth management is pretty intuitive in TG, but it's kinda
> boring...
>
> Thanks for your opinions,
> Dan
>
>
> >


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