Change URL on Django Admin Site

2,007 views
Skip to first unread message

Armin

unread,
Oct 7, 2005, 12:44:59 PM10/7/05
to Django users
Hi,

I need to make some serious damage to admin site, and I realize that
the admin site model is not as easily editable as admin templates. How
can I change its model, how can I edit it's URL design? I found some
stuff on Django source code, but can I just copy them somewhere and
edit them without messing up django and ruin my chances from future
versions of Django?

Thanks,
Armin

ps. Did anyone see my question 'Implementation Question' I posted
yesterday?

Flavio Curella

unread,
Oct 21, 2005, 3:32:35 PM10/21/05
to Django users
I need another URL for admin site, too. My mediatemple shared server
rewrites /admin/ URLs to the server's config web-panel.

Adrian Holovaty

unread,
Oct 21, 2005, 4:28:23 PM10/21/05
to django...@googlegroups.com
On 10/21/05, Flavio Curella <flavio....@gmail.com> wrote:
> I need another URL for admin site, too. My mediatemple shared server
> rewrites /admin/ URLs to the server's config web-panel.

This is very easy to do. Just change your URL configuration (urls.py)
and change "admin" to whatever you want it to be.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Flavio Curella

unread,
Oct 22, 2005, 7:42:15 AM10/22/05
to Django users
It works! really simple, thanks! :)

Reply all
Reply to author
Forward
0 new messages