Well, say I make a plugin which I want to link back to a function in
my default_controller. I would not wish to to make my link like this
URL('default','func'), but like this URL(default_controller,'func').
See what I mean?


On Jan 2, 2:09 am, Jonathan Lundell <[email protected]> wrote:
> On Jan 1, 2011, at 5:46 PM, villas wrote:
>
> > The 'default_controller' variable in routes.py doesn't seem to be
> > available in the rest of the app.
> > From where may I access that information?
> > Or, do I have to set that variable again in as an app setting
> > somewhere (not very DRY!).
>
> I'm not sure what you're asking. Why would you want to access it?

Reply via email to