2 ms·
Totally agree. I recently dabbled a bit in stock picking, and built a system to record my commentaries on stocks and my subjective valuation, so that I can ref
by hnfong 3y ago
Totally agree.
I recently dabbled a bit in stock picking, and built a system to record my commentaries on stocks and my subjective valuation, so that I can refer to them later (so that I have something to base my trades on other than pure emotion).
I just defined the models and used the admin interface for all the editing. I mean, in theory it's not much different from using an excel spreadsheet to keep my records, but I get a full SQL database and a customizable webUI for free after I defined my models. And if I need anything fancy I have a fully programmable system that I can extend arbitrarily.
In django, as long as the functionality is only exposed to trusted users (hence it's called "admin"), there's very little reason to write any "views" logic after you defined the model and basic controller logic.
It's basically the generic CRUD app that you don't have to write.