The Django "Model Meta options" docs provide examples and generally point the reader to use lists for the unique_together and ordering options. Follow our own advice for contrib models. More generally, lists should be used for homogeneous sequences of arbitrary lengths of which both unique_together and ordering are. |
||
---|---|---|
.. | ||
0001_initial.py | ||
0002_alter_permission_name_max_length.py | ||
0003_alter_user_email_max_length.py | ||
0004_alter_user_username_opts.py | ||
0005_alter_user_last_login_null.py | ||
0006_require_contenttypes_0002.py | ||
0007_alter_validators_add_error_messages.py | ||
0008_alter_user_username_max_length.py | ||
0009_alter_user_last_name_max_length.py | ||
0010_alter_group_name_max_length.py | ||
0011_update_proxy_permissions.py | ||
__init__.py |