Anthony on Nostr: Lots of appreciation for #Django's `inspectdb` and admin. I just started on an ...
Lots of appreciation for #Django's `inspectdb` and admin. I just started on an existing non-Django project with 10+ years of data. So I put together an empty Django project, used `inspectdb` to give me some models based on the data structure. I'm now adding `ModelAdmin` classes, tweaking the models with `__str__` and such.
With very little efforts, I have a very convenient way to visualise and navigate the data (including maps for geometries).
Published at
2024-12-02 12:43:47Event JSON
{
"id": "238969df931d8a26952b6c6765c5b02ae3def385954166f42540a8cb647240d1",
"pubkey": "926def87b895122312a8a2134d88522a6f06801755aa762905ad73515e68343d",
"created_at": 1733143427,
"kind": 1,
"tags": [
[
"t",
"django"
],
[
"proxy",
"https://indieweb.social/users/anthony/statuses/113583287647444612",
"activitypub"
]
],
"content": "Lots of appreciation for #Django's `inspectdb` and admin. I just started on an existing non-Django project with 10+ years of data. So I put together an empty Django project, used `inspectdb` to give me some models based on the data structure. I'm now adding `ModelAdmin` classes, tweaking the models with `__str__` and such.\n\nWith very little efforts, I have a very convenient way to visualise and navigate the data (including maps for geometries).",
"sig": "497652ffaae822642a079f9f6f500999025ab626bf3cfc2f384571a6312c23ca85530334a6465b44577387f1b24349613295e849a8c3894f30d9c284bdef59c7"
}