Hi Alex,

On May 29, 2:49 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Fri, May 29, 2009 at 2:45 PM, Mike Driscoll <kyoso...@gmail.com> wrote:
>
> > Hi,
>
> > I asked a similar question about this last year and was told that
> > Django would eventually support composite keys, but currently did not.
> > Has that changed?
>
> > If not, if there a recommended way to use SqlAlchemy in Django? I see
> > that most of the projects that were supposed to integrate SqlAlchemy
> > support are either dead, on life support or have only sporadic
> > commits.
>
> > Thanks!
>
> > Mike
>
> No, Django does not support composite primary keys yet, because no one has
> written a working patch that implements them.  As for how to use SQLAlchemy,
> you could try django-sqlalchemy but I don't know it's status, otherwise you
> just import sqlalchemy and use it as usual, knowing tha tyou'll use the
> admin, and ModelForms, and generic views (and anything else that uses the
> ORM API).
>
> Alex
>

Sweet! Only 4 minutes and I have an answer! I assume that last part
means that I can't use anything that uses the standard ORM API when
using SqlAlchemy rather than the way it reads, right? I seem to recall
that was the way it worked the last time I tried this...

- Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to