app/soc/models/work.py
changeset 545 217921e76f50
parent 533 ba3309b2fd30
child 584 ba8a624506e5
--- a/app/soc/models/work.py	Sat Nov 22 08:40:10 2008 +0000
+++ b/app/soc/models/work.py	Sat Nov 22 08:44:54 2008 +0000
@@ -91,3 +91,9 @@
   is_featured.help_text = ugettext_lazy(
       'Field used to indicate if a Work should be featured, for example,'
       ' in the sidebar menu.')
+
+  def name(self):
+    """Alias 'title' Property as 'name' for use in common templates.
+    """
+    return self.title
+