I've the site_name with link to the required permission in the db to show only 
menu entries the user is allowed to see.
It's ugly but I couldn't find a nicer way. The menus can have a parent if it's 
a submenu, so I need to know the actual mainmenu to load the submenus. If you 
know a nice way to handle this permission stuff I'd be happy.

2009/12/25 Daniel Roseman <[email protected]>
On Dec 25, 8:45 pm, [email protected] wrote:
> request.META['HTTP_HOST'] just return the webadress from the server, I 
need the name I gave an url un urls.py.
> Like reverse just the other way
>
> florian

I'd be interested to know why you need this. The url name is just a
label, it shouldn't have any actual significance. Where are you using
it?
--
DR.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to