Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#7634 closed (wontfix)

Using auto_now or auto_now_add should raise a DeprecationWarning

Reported by: Alex Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: jezdez Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

To my understanding these are both slated for eventual removal in favor of the default kwarg and overiding the save() method, therefore they should raise a DeprecationWarning to alert people of this fact.

Attachments (1)

auto_add.diff (763 bytes) - added by Alex 7 years ago.
Raises a deprecation warning

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by Alex

Raises a deprecation warning

comment:1 Changed 7 years ago by programmerq

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by anonymous

Remember to close #7634.

comment:3 Changed 7 years ago by jezdez

  • Cc jedzez added

comment:4 Changed 7 years ago by mtredinnick

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

For better or worse, these features are in 1.0 and so aren't going away in the near future.

comment:5 Changed 6 years ago by jezdez

  • Cc jezdez added; jedzez removed
Note: See TracTickets for help on using tickets.
Back to Top