On Wed, Feb 4, 2009 at 11:49 AM, Joshua D. Drake <[email protected]> wrote:
> On Wed, 2009-02-04 at 11:33 -0800, Michael Schurter wrote:
>> On Wed, Feb 4, 2009 at 10:37 AM, Adam Lowry <[email protected]>
>> wrote:
>
>> 2.  Django
>>
>> Django for everything...  thrilling huh?  Traditional setup.py style 
>> deployment.
>>
>
> Has Django fixed its ORM yet? Last I checked it lacked the ability to
> properly handle primary keys.

While Django's ORM is definitely nothing to brag about compared to
SqlAlchemy and other more powerful Python ORM's, it definitely handles
primary keys just fine:

Defining:
  http://docs.djangoproject.com/en/dev/ref/models/fields/#primary-key

Querying by:
  http://docs.djangoproject.com/en/dev/topics/db/queries/#the-pk-lookup-shortcut
_______________________________________________
Portland mailing list
[email protected]
http://mail.python.org/mailman/listinfo/portland

Reply via email to