|
|
|
|
|
by zelphirkalt
1407 days ago
|
|
There are multiple things that come to mind, that you can look into, perhaps find a good explanatory text or video about: ERM - Entity Relationship Model 1., 2., and 3. normal form for relational databases (usefule to avoid redundancy and designing it, so that it can be extended later, and avoiding pitfalls like non atomic values). User stories and thinking about, whether they can be comfortably implemented using the proposed model. SQL - for understanding what might happen behind the ORM (Object Relational Mapper). Those things are however not Django specific, which might be the reason, why one might struggle with them, if one is just starting out coding with Django. Django tutorials will usually not cover these. However for a personal project, maybe a not perfect database design is OK as well. Do not despair because of it. |
|
For example a solar panel has to have a peak output, but no energy storage. But a battery type of product is required to have a storage capacity.