sus on Nostr: So I know that for what I want to do, I should inherit from "ModelViewSet" the docs ...
So I know that for what I want to do, I should inherit from "ModelViewSet" the docs tell me: "he actions provided by the ModelViewSet class are .list(), .retrieve(), .create(), .update(), .partial_update(), and .destroy()." well cool but how do I look at the implementation of e.g destroy() ?
Published at
2023-03-01 15:24:13Event JSON
{
"id": "784082bcc208e0e8987db8d20e083e4c385eb8a1ddf26a9f21d96dd98300bf97",
"pubkey": "d205f3dc327dcb8ae0376bceb7e201e29d5a7571ad45bb8641993b9cf486a5f4",
"created_at": 1677684253,
"kind": 1,
"tags": [
[
"e",
"29a82f23063905cb40b767736477f61a9b4110495f5666e939722204bc8baab5",
"",
"root"
],
[
"p",
"d205f3dc327dcb8ae0376bceb7e201e29d5a7571ad45bb8641993b9cf486a5f4"
]
],
"content": "So I know that for what I want to do, I should inherit from \"ModelViewSet\" the docs tell me: \"he actions provided by the ModelViewSet class are .list(), .retrieve(), .create(), .update(), .partial_update(), and .destroy().\" well cool but how do I look at the implementation of e.g destroy() ? ",
"sig": "ffa1ba094842a01667be7c0b9ed08309905c4fa6ac953b224957122fe477c7498cd17654f055fb761335f1d301a520b3170d196b010641dfafe9702d6cc73a6a"
}