summaryrefslogtreecommitdiff
path: root/releng/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'releng/models.py')
-rw-r--r--releng/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/releng/models.py b/releng/models.py
index a22e01d6..9f091371 100644
--- a/releng/models.py
+++ b/releng/models.py
@@ -5,6 +5,7 @@ from django.db import models
from django.db.models.signals import pre_save
from django.utils.safestring import mark_safe
+from main.fields import PositiveBigIntegerField
from main.utils import set_created_field
@@ -113,9 +114,11 @@ class Release(models.Model):
version = models.CharField(max_length=50)
kernel_version = models.CharField(max_length=50, blank=True)
torrent_infohash = models.CharField(max_length=64, blank=True)
+ file_size = PositiveBigIntegerField(null=True, blank=True)
created = models.DateTimeField(editable=False)
available = models.BooleanField(default=True)
info = models.TextField('Public information', blank=True)
+ torrent_data = models.TextField(blank=True)
class Meta:
get_latest_by = 'release_date'