mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed various dodgy behaviours
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -97,7 +97,7 @@ def pk_create(pk, klass, data):
|
||||
def inherited_create(pk, klass, data):
|
||||
instance = klass(id=pk,**data)
|
||||
# This isn't a raw save because:
|
||||
# 1) we're testing inheritance, not field behaviour, so none
|
||||
# 1) we're testing inheritance, not field behavior, so none
|
||||
# of the field values need to be protected.
|
||||
# 2) saving the child class and having the parent created
|
||||
# automatically is easier than manually creating both.
|
||||
|
||||
Reference in New Issue
Block a user