#32847: Adjust models.E025 system check for updated field descriptor setting.
-------------------------------------+-------------------------------------
     Reporter:  Carlton Gibson       |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Hasan Ramezani):

 Hey @Carlton,

 I've checked it a little bit and it seems the property replaced by this
 [https://github.com/django/django/pull/14508/files#diff-
 35c61cb049d39b2e890f12f8c1f9583fb8ca351a8495718b5375a7120f775d05R785
 change].

 > Can we still though detect that such a configuration error occurred,
 i.e. that I named a property *_id matching an FK accessor?

 I couldn't find a way to detect.

 > Can we then update the system check (or replace it) and adjust/remove
 the test_property_and_related_field_accessor_clash test in
 tests/invalid_models_tests/test_models.py?

 I think we can remove the check and test but I am not sure!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32847#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.e080a7391b5a701e0c1435a31d57328d%40djangoproject.com.

Reply via email to