NAMD / pypln.web

Web interface for PyPLN
http://pypln.org/
GNU General Public License v3.0
12 stars 8 forks source link

Bugfix/duplicate corpus #92

Closed flavioamieiro closed 11 years ago

flavioamieiro commented 11 years ago

Keep the user from trying to have duplicate corpora names. If the user tries to create a new corpus with the same name as one that exists, or tries to edit one in a way that this happens, the request will be replied with a 400 (422 is arguably a better response, but it is not exactly standard, so we'll keep 400 for now).