Is there a way to change name of app admin?

from https://mydomain.com/admin
to something like https://mydomain.com/mysecretadmin

I tired this:
routes_in = (
  ('(?P<any>.*)/admin(?P<any2>.*)', '\g<any>/myapp/default/index'),
  ('(?P<any>.*)/mysecretadmin(?P<any2>.*)', '\g<any>/admin\g<any2>'),
)
routes_out = (
  ('(?P<any>.*)/admin(?P<any2>.*)', '\g<any>/mysecretadmin\g<any2>'),
)

but it's so bad way, and doesn't work

thx

Reply via email to