4 ms·
I’ve been using DDD with Django/DRF and as a mid level, I’m confused as to why we aren’t leaning on native Django more and writing less boilerplate. I don’t kno
by about3fitty 6y ago
I’ve been using DDD with Django/DRF and as a mid level, I’m confused as to why we aren’t leaning on native Django more and writing less boilerplate. I don’t know if this is a common complaint though.
- yeswecatan 6y agoDo you have any examples how you accomplish this? Do you have separate domain models which are decoupled from Django's models? Do you use the repository pattern?
- about3fitty 6y agoI’m hesitant to give examples unfortunately but yes to the above and lots of what we do is bespoke whereas we could leverage Django for a lot of it. How are you putting it together? Independent Python classes that exist outside of most of Django core?