From c5eb942f0517180f97bef33f6bfe39cd4f76102c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Nov 2010 19:14:28 +0100 Subject: Db table subcategory_areas renamed to main_subcategory_areas --- chimere/main/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chimere/main/models.py b/chimere/main/models.py index 3efc1bc..4647435 100644 --- a/chimere/main/models.py +++ b/chimere/main/models.py @@ -134,7 +134,7 @@ class SubCategory(models.Model): name = models.CharField(_("Name"), max_length=150) available = models.BooleanField(_("Available")) areas = models.ManyToManyField('Area', related_name='areas', - blank=True, null=True, db_table=u'subcategory_areas') + blank=True, null=True) icon = models.ForeignKey(Icon, verbose_name=_("Icon")) color_theme = models.ForeignKey(ColorTheme, verbose_name=_("Color theme"), blank=True, null=True) -- cgit v1.2.3