From 3ca1050cad8ceae8535ba62f230cfaa8a50228b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 27 Feb 2012 11:54:27 +0100 Subject: [PATCH] Define styles --- trans/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trans/models.py b/trans/models.py index b044b63fc..392b9f8ba 100644 --- a/trans/models.py +++ b/trans/models.py @@ -37,6 +37,8 @@ class SubProject(models.Model): repo = models.CharField(max_length = 200) branch = models.CharField(max_length = 50) filemask = models.CharField(max_length = 200) + style_choices = (('po', 'po'), ('ts', 'ts')) + style = models.CharField(max_length = 10, choices = style_choices) @models.permalink def get_absolute_url(self):