Tweaked the unset primary key check from [5933] to accommodate models created in the oldforms style. It's a backwards-compatibility hack that we can remove when oldforms go away. See #2160 for discussion. Fixed #5204, #2160. Refs #5102.
Tweaked the unset primary key check from [5933] to accommodate models created in the oldforms style. It's a backwards-compatibility hack that we can remove when oldforms go away. See #2160 for discussion. Fixed #5204, #2160. Refs #5102.


git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@5934 bcc190cf-cafb-0310-a4f2-bffc1f526a37

bfirsh/django-old,sam-tsai/django-old,t11e/django,django-nonrel/django-nonrel,t11e/django,t11e/django,dcramer/django-compositepks,sam-tsai/django-old,sam-tsai/django-old,bfirsh/django-old,mitsuhiko/django,Smarsh/django,mitsuhiko/django,sam-tsai/django-old,mitsuhiko/django,skevy/django,hugs/django,Instagram/django,jamespacileo/django-france,bfirsh/django-old,skevy/django,Instagram/django,Instagram/django,jamespacileo/django-france,jamespacileo/django-france,hugs/django,dcramer/django-compositepks,hugs/django,disqus/django-old,alex/django-old,alex/django-old,django-nonrel/django-nonrel,disqus/django-old,Smarsh/django,Smarsh/django,django-nonrel/django-nonrel,dcramer/django-compositepks,alex/django-old,skevy/django,disqus/django-old,Smarsh/django