app/soc/models/work.py
changeset 400 8f07048d84ef
parent 351 b37fc4c1e189
child 402 021e86368600
--- a/app/soc/models/work.py	Mon Oct 20 23:24:21 2008 +0000
+++ b/app/soc/models/work.py	Mon Oct 20 23:24:32 2008 +0000
@@ -41,6 +41,9 @@
       Reviews of that Work.  This relation is implemented as the 'reviews'
       back-reference Query of the Review model 'reviewed' reference.
   """
+
+  key_fields = ['partial_path', 'link_name']
+
   #: Required 1:1 relationship indicating the User who initially authored the
   #: Work (this relationship is needed to keep track of lifetime document
   #: creation limits, used to prevent spamming, etc.).