Browse Source

Fixing the editorial model test script

Roland Haroutiounian 9 years ago
parent
commit
2610d70e5b
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      test_em.py

+ 3
- 2
test_em.py View File

90
                                 help_text = {
90
                                 help_text = {
91
                                     'eng': 'Contains abstract class to handler editorial contents',
91
                                     'eng': 'Contains abstract class to handler editorial contents',
92
                                     'fre': 'Contient les classes abstraites permetant la gestion de contenu éditorial'
92
                                     'fre': 'Contient les classes abstraites permetant la gestion de contenu éditorial'
93
-                                }
93
+                                },
94
                                 depends = (base_group,)
94
                                 depends = (base_group,)
95
 )
95
 )
96
 
96
 
99
                         display_name = 'Text',
99
                         display_name = 'Text',
100
                         help_text = 'Abstract class that represent texts',
100
                         help_text = 'Abstract class that represent texts',
101
                         group = editorial_group,
101
                         group = editorial_group,
102
-                        abtract = True,
102
+                        abstract = True,
103
 )
103
 )
104
 
104
 
105
 texte.new_field(    'title',
105
 texte.new_field(    'title',
126
                         display_name = 'Title',
126
                         display_name = 'Title',
127
                         group = editorial_group,
127
                         group = editorial_group,
128
                         abstract = True,
128
                         abstract = True,
129
+                        data_handler = 'varchar'
129
 )
130
 )

Loading…
Cancel
Save