mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +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
|
|
@ -9,16 +9,20 @@ class Counter(models.Model):
|
|||
name = models.CharField(max_length = 10)
|
||||
value = models.IntegerField()
|
||||
|
||||
|
||||
class InheritedCounter(Counter):
|
||||
tag = models.CharField(max_length=10)
|
||||
|
||||
|
||||
class ProxyCounter(Counter):
|
||||
class Meta:
|
||||
proxy = True
|
||||
|
||||
|
||||
class SubCounter(Counter):
|
||||
pass
|
||||
|
||||
|
||||
class WithCustomPK(models.Model):
|
||||
name = models.IntegerField(primary_key=True)
|
||||
value = models.IntegerField()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue