Changes between Initial Version and Version 1 of Ticket #20228, comment 6


Ignore:
Timestamp:
May 21, 2013, 4:25:09 PM (11 years ago)
Author:
Deepak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20228, comment 6

    initial v1  
    11The reason for this is validate_unique skips "created_at" because it's internally in excluded fields since it's not rendered in admin UI.
    22
    3 @aaugustin Shouldn't we check f.name instead of f.unique_for_* in https://github.com/django/django/blob/master/django/db/models/base.py#L800-L804 ? If not then we should mark it as documentation bug and add a note in documentation that field should not be excluded.
     3@aaugustin Shouldn't we check f.name instead of f.unique_for_* in exclude? https://github.com/django/django/blob/master/django/db/models/base.py#L800-L804 ? If not then we should mark it as documentation bug and add a note in documentation that field should not be excluded.
Back to Top