[django/django] d3cf6c: Fixed #17713 -- Renamed BaseDatabaseFeatures.allow...

1 view
Skip to first unread message

GitHub

unread,
Feb 6, 2014, 5:17:00 AM2/6/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: d3cf6cfacfb828faad4f4f97c904e259304649b3
https://github.com/django/django/commit/d3cf6cfacfb828faad4f4f97c904e259304649b3
Author: Vajrasky Kok <sky...@speaklikeaking.com>
Date: 2014-02-06 (Thu, 06 Feb 2014)

Changed paths:
M django/db/backends/__init__.py
M django/db/backends/mysql/base.py
M docs/releases/1.7.txt
M tests/backends/tests.py
M tests/bulk_create/tests.py
M tests/inline_formsets/tests.py
M tests/serializers_regress/tests.py

Log Message:
-----------
Fixed #17713 -- Renamed BaseDatabaseFeatures.allows_primary_key_0 to allows_auto_pk_0.

MySQL does allow primary key with value 0. It only forbids autoincrement
primary key with value 0.

Thanks Claude Paroz for the report.


Reply all
Reply to author
Forward
0 new messages