Opened 13 years ago
Closed 13 years ago
#16438 closed Cleanup/optimization (fixed)
class Meta spacing in django.contrib.admin Code Guidelines
Reported by: | philipkimmey | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
This is trivial almost to the point of being pedantic, but the class Meta should be separated from the field declarations by a blank line.
I've attached a patch.
Attachments (1)
Change History (6)
comment:1 by , 13 years ago
Component: | Uncategorized → contrib.admin |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 13 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
Version: | 1.3 → SVN |
comment:4 by , 13 years ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Patch looks good to me
Note:
See TracTickets
for help on using tickets.
The patch should be from the root of the django source code - i.e. it should be django/contrib/admin/models.py, not contrib/admin/models.py.