diff options
author | 2016-01-31 16:02:20 +0100 | |
---|---|---|
committer | 2016-01-31 16:02:20 +0100 | |
commit | a0a2a79a1d270562a219a0a3d2ff7c40df42ea44 (patch) | |
tree | 956323385c725990bcb64e12478acfe7a0eb4e02 | |
parent | add emerge info (diff) | |
download | tinderbox-cluster-www-a0a2a79a1d270562a219a0a3d2ff7c40df42ea44.tar.gz tinderbox-cluster-www-a0a2a79a1d270562a219a0a3d2ff7c40df42ea44.tar.bz2 tinderbox-cluster-www-a0a2a79a1d270562a219a0a3d2ff7c40df42ea44.zip |
remove mtime in the package model
-rw-r--r-- | python/tbc_www/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/tbc_www/models.py b/python/tbc_www/models.py index dda8c3b..81f7c59 100644 --- a/python/tbc_www/models.py +++ b/python/tbc_www/models.py @@ -36,13 +36,12 @@ class Packages(models.Model): CategoryId = models.ForeignKey(Categories, db_column='category_id') Package = models.CharField(max_length=150, db_column='package') RepoId = models.ForeignKey(Repos, db_column='repo_id') - Mtime = models.DateTimeField(db_column='mtime') Active = models.BooleanField(db_column='active') TimeStamp = models.DateTimeField(db_column='time_stamp') class Meta: db_table = 'packages' def __str__(self): - return '%s %s %s %s %s %s %s' % (self.PackageId, self.CategoryId, self.Package, self.RepoId, self.Mtime, self.Active, self.TimeStamp) + return '%s %s %s %s %s %s %s' % (self.PackageId, self.CategoryId, self.Package, self.RepoId, self.Active, self.TimeStamp) class PackagesMetadata(models.Model): Id = models.IntegerField(primary_key=True, db_column='id') |