#1625 closed defect (wontfix)
unique_for_* don't work with auto_now* fields
Reported by: | nesh <nesh [at] studioquattro [dot] co [dot] yu> | Owned by: | nobody |
---|---|---|---|
Component: | Validators | Version: | newforms-admin |
Severity: | major | Keywords: | nfa-blocker |
Cc: | nesh@…, cmawebsite@… | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Because auto_add fields don't show up in forms unique_for_*
stuff don't work. manipulator_validator_unique_for_date
search form data for values so it can't find any value for this type of fields.
Change History (13)
comment:1 by , 19 years ago
Component: | Validators → Django project website |
---|---|
Keywords: | http://www.dirare.com added |
milestone: | → Version 0.92 |
Owner: | changed from | to
Severity: | normal → minor |
Type: | defect → task |
comment:2 by , 19 years ago
Component: | Django project website → Validators |
---|---|
Keywords: | http://www.dirare.com removed |
Owner: | changed from | to
Severity: | minor → major |
Type: | task → defect |
comment:5 by , 18 years ago
Summary: | unique_for_* don't work with auto_add* fields → unique_for_* don't work with auto_now* fields |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:6 by , 18 years ago
Cc: | added; removed |
---|
comment:7 by , 17 years ago
Version: | magic-removal → SVN |
---|
comment:8 by , 16 years ago
Keywords: | nfa-blocker added |
---|---|
Version: | SVN → newforms-admin |
comment:9 by , 16 years ago
milestone: | → 1.0 alpha |
---|
comment:10 by , 16 years ago
Isn't this kind of a red herring ticket? auto_now
and auto_now_add
are deprecated and should be replaced with additions in the save()
method and default
attributes respectively. Thus they'll be handled like any other default attributes (or things added in save()
). Adding in special handling for auto_now_*
would seem to be counter-productive.
comment:11 by , 16 years ago
Cc: | added |
---|
comment:12 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Yeah, this is wontfix -- people shouldn't be using auto_now* any more.
Welcome!!! http://www.dirare.com/Sweden/ online directory. [URL=http://www.dirare.com]YP nationalURL: MY yellowpages, SMART Yellow Pages, About DIRare. Also [url=http://www.dirare.com]global directoryurl from online directory .