I know this is not the best practice, but to avoid that i'd define the
first domain unexistent action and use a redirect statement to send
the client to the correct address.


On 30 dic 2011, 23:52, Plumo <richar...@gmail.com> wrote:
> I am using routers for multiple domains like this:
>
> routers = dict(
>   BASE  = dict(
>       domains = {
>           'domain1' : 'init',
>           'domain2' : 'admin',
>       },
>    ),
> )
>
> Problem is when accessing domain1/appadmin it redirects me to domain1/admin
> to login, which does not exist. That app is accessed by domain2.
> If I login to admin at domain2/admin and then try domain1/appadmin, I am
> redirected again to domain1/admin.
>
> Is there a way to use appadmin when routing domains?
>
> Richard

Reply via email to