On Wednesday October 29, 2008 22:32:43 Derick Eisenhardt wrote:
> > > May I see the contents of {yourproject}/config/app_cfg.py?
>
> I betcha it has something to do with the new auth stuff...that makes
> sense.
> http://paste.turbogears.org/paste/11409

You're using following settings, but they are ignored as of b1:
base_config.sa_auth.user_criterion
base_config.sa_auth.user_id_column

But real problem should be:
base_config.sa_auth = Bunch()

It should be removed. It's something very common that almost anybody has to 
do, so now TG2 does that for us and sets some other things (thus, if we set 
"base_config.sa_auth", we're overriding what TG2 set there).

You may want to read this:
http://trac.turbogears.org/wiki/2.0/changelog#Upgradingfrom1.9.7a4

And possibly:
http://turbogears.org/2.0/docs/main/Extensions/Authorization/Quickstart.html#customizing-
the-model-structure-assumed-by-the-quickstart

HTH.
-- 
Gustavo Narea.
http://gustavonarea.net/

Get rid of unethical constraints! Switch to Freedomware:
http://softwareliberty.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to