projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make User.name unique.
[zzz-floof.git]
/
floof
/
websetup.py
diff --git
a/floof/websetup.py
b/floof/websetup.py
index
815832d
..
a4e935f
100644
(file)
--- a/
floof/websetup.py
+++ b/
floof/websetup.py
@@
-23,7
+23,7
@@
def setup_app(command, conf, vars):
# Users
from floof.model.users import IdentityURL, User
identity_url = IdentityURL(url=u'http://eevee.livejournal.com/')
# Users
from floof.model.users import IdentityURL, User
identity_url = IdentityURL(url=u'http://eevee.livejournal.com/')
- user = User(name=u'
E
evee')
+ user = User(name=u'
e
evee')
user.identity_urls.append(identity_url)
model.Session.commit()
user.identity_urls.append(identity_url)
model.Session.commit()