diff options
author | Dan McGee <dan@archlinux.org> | 2012-08-15 08:25:00 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-08-15 08:25:00 -0500 |
commit | 2e9094630b5117575f899f068046c6e1021387a1 (patch) | |
tree | 5b7cb55cbd62efbd0d1fba63c9234791eb7d8d4f | |
parent | 9189665c2c64c13a59b25b981633ae9e12cfcc92 (diff) |
PEP8 spacing in releng models filerelease_2012-08-15
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | releng/models.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/releng/models.py b/releng/models.py index 56187766..98454e95 100644 --- a/releng/models.py +++ b/releng/models.py @@ -4,6 +4,7 @@ from django.db.models.signals import pre_save from main.utils import set_created_field + class IsoOption(models.Model): name = models.CharField(max_length=200) @@ -13,10 +14,12 @@ class IsoOption(models.Model): class Meta: abstract = True + class RollbackOption(IsoOption): class Meta: abstract = True + class Iso(models.Model): name = models.CharField(max_length=255) created = models.DateTimeField(editable=False) @@ -32,37 +35,48 @@ class Iso(models.Model): class Meta: verbose_name = 'ISO' + class Architecture(IsoOption): pass + class IsoType(IsoOption): class Meta: verbose_name = 'ISO type' + class BootType(IsoOption): pass + class HardwareType(IsoOption): pass + class InstallType(IsoOption): pass + class Source(IsoOption): pass + class ClockChoice(IsoOption): pass + class Filesystem(RollbackOption): pass + class Module(RollbackOption): pass + class Bootloader(IsoOption): pass + class Test(models.Model): user_name = models.CharField(max_length=500) user_email = models.EmailField() |