Hi, friends. I have a problem.
I created a function (main) that displays a list on the first page
(index.html) of site administration. The problem is that for example,
if I put in URLConf: (r '^ admin /(.*)',' myproject.views.main '),
 I get this list as I want, but don't shows the view by default of
Django admin (r '^ admin /(.*)', admin.sites.root'), which shows all
app and the managing of users and groups. Do you know what I mean?
So I have doubts about how to make that homepage display both things:
view by default of Django, and my list.
I tried copying the admin functions for my views.py, but still no
good, because I get I do not have permission to edit anything ({% if
app_list %}...........{% else %} <p> (% trans "You do not have
permission to edit anything." %) </ p>), but I get my list, that I
did.
So the idea is to maintain the view that I load in the default Django
administration and right there, the list that I added.
Do you help me?

Sorry, my English is not very good. Thanks

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