Browse Source

Switched shortname to primary_key

Modified the shortname's DH attribute value from uniq to primary_key
Quentin Bonaventure 8 years ago
parent
commit
5f304cd64e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodelsites_em.py

+ 1
- 1
lodelsites_em.py View File

@@ -41,7 +41,7 @@ em_lodel_site.new_field(
41 41
     data_handler = 'regex',
42 42
     max_length = 5,
43 43
     regex = '^[0-9a-z_-]+$',
44
-    uniq = True
44
+    primary_key = True
45 45
 )
46 46
 
47 47
 em_lodel_site.new_field(

Loading…
Cancel
Save