Set default value for is_composite_pk in admin config
Added an `is_composite_pk` attribute with a default value of `False` to the admin configuration. This ensures clarity in object definition and supports better configurability for composite primary key scenarios.
This commit is contained in:
parent
12ccd04943
commit
0e86c96ad3
1 changed files with 1 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ class ConstanceConfig:
|
|||
verbose_name_plural = _("config")
|
||||
abstract = False
|
||||
swapped = False
|
||||
is_composite_pk = False
|
||||
|
||||
def get_ordered_objects(self):
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in a new issue