+ 1

[DJANGO] Regarding Django and how to design an application

I've followed Django's poll tutorial, and I've created an application for stationary stock control. The problem is that I've barely documented the process, I've to make some changes and mostly redesign what I've done. Now that I've started documenting everything, I realise how confused I'm in regards on how to design on paper all entities and interactions. I believe I understand the difference and relations between a project, an application, models and views. But, I've a problem with one specific model, and hence, I'm not sure I'm doing the rest of the design correctly. Let's say, I've an application called Stock manager. This one, has following models: Delivery, Purchase, Item/Quantity and User. I thought to manage on another application a model called Items, but then, I feel it could go inside Stock Manager. But then, I also feel I'm not modularizing my project good enough if I do that. Which approach should I follow?

27th Apr 2018, 7:26 PM
Kustaa
2 odpowiedzi
+ 1
My advise is if your Items model has lot of relations to models present in stock manager application its more appropriate to keep Items in stock manager application raher than keeping in other application.
25th Jul 2018, 8:36 AM
Pavan Kumar T S
Pavan Kumar T S - avatar
+ 1
Thank you for sharing that
25th Jul 2018, 10:06 AM
Kustaa