mirror of
https://github.com/django/django.git
synced 2025-11-24 21:00:12 +00:00
PEP8 cleanup
Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
parent
0fdb692c6c
commit
7a61c68c50
128 changed files with 739 additions and 206 deletions
|
|
@ -19,11 +19,13 @@ class Article(models.Model):
|
|||
def __str__(self):
|
||||
return self.headline
|
||||
|
||||
|
||||
class ArticleSelectOnSave(Article):
|
||||
class Meta:
|
||||
proxy = True
|
||||
select_on_save = True
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class SelfRef(models.Model):
|
||||
selfref = models.ForeignKey('self', null=True, blank=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue