New Error for Djblets WebApi - DUPLICATE_ITEM

Review Request #6968 — Created Feb. 21, 2015 and submitted

Information

Djblets
master
19654af...

Reviewers

There are times when users are creating anything that are meant to be unique. To name a few, they may include usernames, account names, or ids. As they are meant to be unique, they may run into issues where the particular item they want to create is already taken. A new error has been added to djblets webapi to account for this particular scenario.


 
Description From Last Updated

This should be a HTTP 409 Conflict.

chipx86chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/webapi/errors.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/errors.py
    
    
  2. 
      
VT
brennie
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. djblets/webapi/errors.py (Diff revision 1)
     
     
    Show all issues

    This should be a HTTP 409 Conflict.

  3. 
      
VT
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/webapi/errors.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/errors.py
    
    
  2. 
      
VT
Review request changed
Status:
Completed
Change Summary:
Pushed to master (c5c33aa)