1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Removed django.db.models.options.Options.one_to_one_field.

The last use of it was removed in r9641 (it's internal API) and it's been
broken since r7477, as there's no longer a maximum of one OneToOneField per
model, so anything relying on it contained subtle bugs.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick
2008-12-11 07:31:41 +00:00
parent bb6d5dc69b
commit f1f1d366c8
2 changed files with 0 additions and 3 deletions

View File

@@ -41,7 +41,6 @@ class Options(object):
self.meta = meta
self.pk = None
self.has_auto_field, self.auto_field = False, None
self.one_to_one_field = None
self.abstract = False
self.parents = SortedDict()
self.duplicate_targets = {}