Hi,

I am looking for the answer as well. I came across this tutorial with
some sample code. 
http://lincolnloop.com/assets/Customizing_the_Django_Admin-EuroDjangoCon09.pdf
page 59.

However, I don't want to create new view, but just modify the display
urls. So if somebody could give any hint, that would be great.

Thanks,

Wayne

On May 4, 4:23 am, akonsu <[email protected]> wrote:
> hello,
>
> by default an admin url for a model looks like this:
>
> http://<host>/admin/<application-name>/<model-name>/...
>
> is there a way to change it? for different models i need to have
> different url structure. say, i want to replace "/admin/<application-
> name>" with something else.
>
> ModelAdmin.get_urls()? the documentation is not very helpful for me. i
> do not understand how i can use get_urls(). in particular, i do not
> have any custom views in my admin. and the docs only explain how to
> use get_urls() to hook up views.
>
> thanks for any help
> konstantin
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://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 [email protected].
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