#34446: Code style - incorrect Model Style
-----------------------------------------+------------------------
Reporter: JiriKr | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
/coding-style/#model-style
In dev documentation version there is no difference between ''Do this:''
and ''Don’t do this:'' in Meta section.
{{{
class Person(models.Model):
first_name = models.CharField(max_length=20)
last_name = models.CharField(max_length=40)
class Meta:
verbose_name_plural = "people"
}}}
In 4.1 version it is correct. Related to
https://code.djangoproject.com/ticket/34140 .
--
Ticket URL: <https://code.djangoproject.com/ticket/34446>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018731419d97-95edd2a6-6567-49c6-8c0d-287a7d12e3fb-000000%40eu-central-1.amazonses.com.