app/soc/models/document.py
changeset 1091 0e648c690bb7
parent 936 b3e1e0c9649c
child 1095 0122dc66e5d2
--- a/app/soc/models/document.py	Fri Jan 30 21:59:13 2009 +0000
+++ b/app/soc/models/document.py	Fri Jan 30 21:59:38 2009 +0000
@@ -18,9 +18,14 @@
 
 __authors__ = [
   '"Pawel Solyga" <pawel.solyga@gmail.com>',
+  '"Sverre Rabbelier" <sverre@rabbelier.nl>',
 ]
 
 
+from google.appengine.ext import db
+
+from django.utils.translation import ugettext
+
 import soc.models.work
 
 
@@ -41,4 +46,11 @@
 
   URL_NAME = 'document'
 
-  pass
\ No newline at end of file
+  #: field storing whether a link to the Document should be featured in
+  #: the sidebar menu (and possibly elsewhere); FAQs, Terms of Service,
+  #: and the like are examples of "featured" Document
+  is_featured = db.BooleanProperty(
+      verbose_name=ugettext('Is Featured'))
+  is_featured.help_text = ugettext(
+      'Field used to indicate if a Work should be featured, for example,'
+      ' in the sidebar menu.')