Better guideline

This commit is contained in:
Cédric Krier committed 2008-03-04 17:35:43 +01:00
1 parent e8d56dc8a8
commit fe3e213ff9
1 file changed
+1 -1
+1 -1
View File
@@ -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!')
]