Changes between Version 1 and Version 2 of Ticket #30386, comment 6


Ignore:
Timestamp:
Oct 7, 2021, 8:29:08 AM (3 years ago)
Author:
Alexander Pervakov

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30386, comment 6

    v1 v2  
    11I'm dive deeper into this and found that `quote(obj.id)` maybe not the best option and should be debated but the presence of a warning message when `not isinstance(obj.pk, int)` would be great and will lead people to this thread. Because stackoverflow is full of questions about quoting the link in admin but no one provide refs to this ticket that I found after couple hours of code investigating and testing.
    22
    3 Something like this django.db.models.fields.related.ForeignKey:
     3Something like this in django.db.models.fields.related.ForeignKey:
    44
    55
Back to Top