Tim Schilling on Nostr: Has anyone found a way to define a model and have any relationship field towards it ...
Has anyone found a way to define a model and have any relationship field towards it always be added in the admin's raw_id_fields? I have several models that require me throwing raw_id_fields everywhere.
#Django
Published at
2024-09-19 15:56:17 UTCEvent JSON
{
"id": "9d561899423cddc8cf8738ef46f91f022b75ced25a60015dba19c73496cd4090",
"pubkey": "f6f2cc49a79a927d1ad9c5b1fe123127ed0f41545de55a201f5e0710a0d1a799",
"created_at": 1726761377,
"kind": 1,
"tags": [
[
"t",
"django"
],
[
"proxy",
"https://fosstodon.org/@CodenameTim/113165033647166233",
"web"
],
[
"proxy",
"https://fosstodon.org/users/CodenameTim/statuses/113165033647166233",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/CodenameTim/statuses/113165033647166233",
"pink.momostr"
],
[
"-"
]
],
"content": "Has anyone found a way to define a model and have any relationship field towards it always be added in the admin's raw_id_fields? I have several models that require me throwing raw_id_fields everywhere.\n\n#Django",
"sig": "b6069021e3d10255e129e5d98b3c25ffd1ba074a12359e1e992fca3ef4ad0dd1627d3923b1d743dd7615cb870a3a3a1f5a3fbb14d3673939aa61cf2a24aad9ac"
}