mirror of
https://github.com/django/django.git
synced 2025-10-04 15:55:09 +00:00
Refs #23919 -- Stopped inheriting from object to define new style classes.
This commit is contained in:
parent
a556396339
commit
cecc079168
293 changed files with 512 additions and 514 deletions
|
@ -66,7 +66,7 @@ def make_immutable_fields_list(name, data):
|
|||
return ImmutableList(data, warning=IMMUTABLE_WARNING % name)
|
||||
|
||||
|
||||
class Options(object):
|
||||
class Options:
|
||||
FORWARD_PROPERTIES = {
|
||||
'fields', 'many_to_many', 'concrete_fields', 'local_concrete_fields',
|
||||
'_forward_fields_map', 'managers', 'managers_map', 'base_manager',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue