Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Description field for TranslationProject.

  • Loading branch information...
commit f3a8af06647da03e95a438294e0d215631db4aae 1 parent 4fa2dc3
@friedelwolff friedelwolff authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 local_apps/pootle_translationproject/models.py
View
4 local_apps/pootle_translationproject/models.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
-# Copyright 2009-2011 Zuza Software Foundation
+# Copyright 2009-2012 Zuza Software Foundation
#
# This file is part of Pootle.
#
@@ -89,6 +89,8 @@ class Meta:
unique_together = ('language', 'project')
db_table = 'pootle_app_translationproject'
+ description_help_text = _('A description of this project. This is useful to give more information or instructions. This field should be valid HTML.')
+ description = models.TextField(blank=True, help_text=description_help_text)
language = models.ForeignKey(Language, db_index=True)
project = models.ForeignKey(Project, db_index=True)
real_path = models.FilePathField(editable=False)
Please sign in to comment.
Something went wrong with that request. Please try again.