diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-07-30 01:51:13 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-07-30 01:51:13 +0200 |
| commit | e214b39b4434c10589b548c387ad9a0e9dd98d2c (patch) | |
| tree | bc3a41d3ac3219098c43870990a1429373b9bed2 /budget/templates | |
| parent | ab305ccbc6abf3aa990832da4f5161c813860e5c (diff) | |
| download | ihatemoney-mirror-e214b39b4434c10589b548c387ad9a0e9dd98d2c.zip ihatemoney-mirror-e214b39b4434c10589b548c387ad9a0e9dd98d2c.tar.gz ihatemoney-mirror-e214b39b4434c10589b548c387ad9a0e9dd98d2c.tar.bz2 | |
Fixes an unwanted error "user already exists".
Doing a query with an AND SQL statement needs to be done with multiple "filter" callswith SQLAlchemy.
Here, we want to be sure that the username is not used AND that the project is the same than the eventual users that would match. The previous version of the code returned an user with the same name, even if the user wasn't in the right group.
Diffstat (limited to 'budget/templates')
0 files changed, 0 insertions, 0 deletions
