summaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-15 15:25:00 +0200
committerDan McGee <dan@archlinux.org>2012-08-15 15:25:00 +0200
commit2e9094630b5117575f899f068046c6e1021387a1 (patch)
tree5b7cb55cbd62efbd0d1fba63c9234791eb7d8d4f /releng
parent9189665c2c64c13a59b25b981633ae9e12cfcc92 (diff)
downloadarchweb-2e9094630b5117575f899f068046c6e1021387a1.tar.gz
archweb-2e9094630b5117575f899f068046c6e1021387a1.tar.xz
PEP8 spacing in releng models file
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng')
-rw-r--r--releng/models.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/releng/models.py b/releng/models.py
index 5618776..98454e9 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()