2 ms·
It's been a long while, but I believe Django names tables with that exact convention.
by ollien 4y ago
It's been a long while, but I believe Django names tables with that exact convention.
- jorl17 4y agoIndeed it does. At a previous job we used to get rid of the convention. I've since thrown in the towel and said "meh"
- rtpg 4y agomore specifically for people who don't use it, the general naming is "module_modelname" (so for example "payments_paypaltransaction"). Django's term for what one might call a module is "app", which is also a bit of a loaded term, but the simple way of seeing it is that Django projects have many sub directories each managing a set of models (which map to DB tables, generally).