Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(62)

Issue 10688044: Generalized version of create_user() (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by ana.balica
Modified:
10 years, 10 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

Username, password and email are required params. Email is left for compatibility with old usages (see `MoinMoin/_tests/test_user.py`). `validate=True` and `is_encrypted=False` don't belong to meta, so maybe we should leave them as default arguments.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Default values for **kw args #

Total comments: 1

Patch Set 3 : Default args and docs #

Total comments: 4

Patch Set 4 : Better docs #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -7 lines) Patch
M MoinMoin/user.py View 1 2 3 4 2 chunks +19 lines, -7 lines 0 comments Download

Messages

Total messages: 5
Thomas.J.Waldmann
https://codereview.appspot.com/10688044/diff/1/MoinMoin/user.py File MoinMoin/user.py (left): https://codereview.appspot.com/10688044/diff/1/MoinMoin/user.py#oldcode93 MoinMoin/user.py:93: theuser.profile[DISABLED] = is_disabled you need to handle the default ...
10 years, 10 months ago (2013-06-28 13:58:29 UTC) #1
Thomas.J.Waldmann
mostly ok, add more docs also, as usual: run tests, try it practically. https://codereview.appspot.com/10688044/diff/6001/MoinMoin/user.py File ...
10 years, 10 months ago (2013-06-28 14:25:15 UTC) #2
Thomas.J.Waldmann
https://codereview.appspot.com/10688044/diff/1002/MoinMoin/user.py File MoinMoin/user.py (right): https://codereview.appspot.com/10688044/diff/1002/MoinMoin/user.py#newcode52 MoinMoin/user.py:52: in general: reST usually has a colon before and ...
10 years, 10 months ago (2013-06-28 15:16:59 UTC) #3
Thomas.J.Waldmann
https://codereview.appspot.com/10688044/diff/16001/MoinMoin/user.py File MoinMoin/user.py (right): https://codereview.appspot.com/10688044/diff/16001/MoinMoin/user.py#newcode58 MoinMoin/user.py:58: :param is_encrypted: when False (default) defines that the password ...
10 years, 10 months ago (2013-06-28 15:43:41 UTC) #4
Thomas.J.Waldmann
10 years, 10 months ago (2013-06-28 15:49:51 UTC) #5
ok
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b