However, I haven’t seen any recommendations for ordering the attributes in a model field. In lieu of that, I suppose the current order of arguments to
__init__() in the source code could be considered a recommendation.
Field verbose_name name primary_key max_length unique blank null db_index rel default editable serialize unique_for_date unique_for_month unique_for_year choices help_text db_column db_tablespace auto_created validators error_messages DateField, TimeField auto_now auto_now_add DecimalField max_digits decimal_places GenericIPAddressField protocol unpack_ipv4 ForeignKey to on_delete related_name related_query_name limit_choices_to parent_link to_field db_constraint ManyToManyField symmetrical through through_fields db_table swappable FileField upload_to storage
PS - Also didn’t see any guidance about positioning the
__init__() function if you override it - probably because everyone suggests you don’t do that.