Browse Source

Added an allowaed_class for Publication.collection

prieto 8 years ago
parent
commit
322a68f2d5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      em_test.py

+ 1
- 0
em_test.py View File

@@ -193,6 +193,7 @@ publication.new_field(  'collection',
193 193
                         display_name = 'Collection',
194 194
                         group = editorial_group,
195 195
                         data_handler = 'link',
196
+                        allowed_classes = [collection],
196 197
                         back_reference = ('collection', 'publications'))
197 198
 
198 199
 #########################

Loading…
Cancel
Save