I'm working on Ticket #2114 and I'm trying to use tg.url in
tg.configuration.AppConfig.add_auth_middleware(). However, when I import
tg.url at the top of tg.configuration I get this:
http://paste.chrisarndt.de/paste/7f200f532fbf442e946c1362abc163c7
However, if I replace "from tg.controllers import url" (or "from tg import
url") with "from pylons import url", I get no error.
What's the problem?
I'm using the latest revision of TG2 and devtools.
Cheers.
--
Gustavo Narea <http://gustavonarea.net/>.
Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/
There was a switch from tg.url to use routs url I think; not sure if
that helps...
Lucas
On Monday January 5, 2009 05:45:03 Mark Ramm wrote:
> Hmm, I can't reproduce that right now.
>
> Perhaps you had a strange intermediary state where I accidentially had
> url called new_url in tg, but current trunk appears to work and all
> the url tests are passing.
Now I have a fresh virtualenv with the latest trunk and the problem is still
present. Can you please try the attached patch?
Thanks,
Lucas
I have no idea, it's still broken for me. Has anybody been able to try the
patch successfully?