Elixir is 0.5.1 and SA 0.4.2p3.
Im using this procedure as it was described with pylons application:
from sqlalchemy.orm import scoped_session, sessionmaker
import elixir
# replace the elixir session with our own
Session = scoped_session(sessionmaker(autoflush=True,
transactional=True))
elixir.session = DBSession = Session
elixir.options_defaults.update({
'shortnames': True
})
# use the elixir metadata
metadata = elixir.metadata
# this will be called in config/environment.py
def init_model(engine):
metadata.bind = engine
Any thoughts?
On Feb 21, 5:01 pm, Jonathan LaCour <[EMAIL PROTECTED]>
wrote:
> mmstud wrote:
> > When updating model, i see password is encrypted and updated as
> > well even i dont change it and in my case encrypted pass gets
> > encrypted, and next time over and over again, so password changes
> > and string gets longer and longer. What might cause this and how
> > it is prevented?
>
> I cannot reproduce your problem in my testing. It seems to work
> fine for me. Can you provide more details? What version of
> SQLAlchemy are you using? What version of Elixir? Are you using
> the default session included with Elixir, and if not how are you
> creating and configuring your session?
>
> --
> Jonathan LaCourhttp://cleverdevil.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---