Better guideline
This commit is contained in:
1 parent
e8d56dc8a8
commit
fe3e213ff9
1 file changed
+1
-1
+1
-1
@@ -35,7 +35,7 @@ class User(OSV):
|
||||
'set_preferences',
|
||||
'get_preferences_fields_view',
|
||||
]
|
||||
self._sql_constraints = [
|
||||
self._sql_constraints += [
|
||||
('login_key', 'UNIQUE (login)',
|
||||
'You can not have two users with the same login!')
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user