Add feature matrix entry for 9.2, hide 7.4 for layout reasons

Requires manual sql to be run on all installations:

BEGIN;
ALTER TABLE featurematrix_feature ADD COLUMN v92 int;
UPDATE featurematrix_feature SET v92=v91;
ALTER TABLE featurematrix_feature ALTER COLUMN v92 SET NOT NULL;
COMMIT;
This commit is contained in:
Magnus Hagander
2012-05-27 21:07:06 +02:00
parent f963e559d5
commit 88ccd0d6b8

View File

@ -34,7 +34,7 @@ class Feature(PgModel, models.Model):
featurename = models.CharField(max_length=100, null=False, blank=False)
featuredescription = models.TextField(null=False, blank=True)
#WARNING! All fields that start with "v" will be considered versions!
v74 = FeatureMatrixField(verbose_name="7.4")
v74 = FeatureMatrixField(verbose_name="7.4", visible_default=False)
v80 = FeatureMatrixField(verbose_name="8.0")
v81 = FeatureMatrixField(verbose_name="8.1")
v82 = FeatureMatrixField(verbose_name="8.2")
@ -42,6 +42,7 @@ class Feature(PgModel, models.Model):
v84 = FeatureMatrixField(verbose_name="8.4")
v90 = FeatureMatrixField(verbose_name="9.0")
v91 = FeatureMatrixField(verbose_name="9.1")
v92 = FeatureMatrixField(verbose_name="9.2")
purge_urls = ('/about/featurematrix/.*', )