Code

Opened 6 years ago

Closed 6 years ago

#7912 closed (duplicate)

Add what kind of exception is through

Reported by: BigNude Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: exception, model, backend
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

it would by great to have information in documentation what kind of exceptions can by through if conditions in model creation not fulfilled.
for example if I create objects where the two fields are unique together then the exception will ocoure, but whitch. well you will think it depends on the backend. Sure but since django abstracts it for me already then it should abstrac exceptions as well and though usefull exceptions as for example Object.DoesNotExist

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by BigNude <lauril-4@…>

  • Component changed from Documentation to Database wrapper
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

I guess this would applier to database wrapper as well

comment:2 Changed 6 years ago by mattmcc

  • Resolution set to duplicate
  • Status changed from new to closed

This will be addressed by #6845.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.