summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index d357ef1..70ab4bd 100644
--- a/main/models.py
+++ b/main/models.py
@@ -59,8 +59,12 @@ class Donor(models.Model):
class Arch(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=255, unique=True)
+ agnostic = models.BooleanField(default=False,
+ help_text="Is this architecture non-platform specific?")
+
def __unicode__(self):
return self.name
+
class Meta:
db_table = 'arches'
ordering = ['name']
@@ -78,6 +82,7 @@ class Repo(models.Model):
def __unicode__(self):
return self.name
+
class Meta:
db_table = 'repos'
ordering = ['name']