shezi / django-unstuck

Suggestions for overcoming common challenges in Django projects
BSD 3-Clause "New" or "Revised" License
26 stars 0 forks source link

Proposal: The placement of shared utility modules #1

Open madalinpopa opened 1 year ago

madalinpopa commented 1 year ago

One challenge that I had with every project was, where to put the utilities shared with multiple apps in project.

  1. Do you make a core app and putt them there?
  2. Do you create a utility/common module in the global project?
shezi commented 1 year ago

Great suggestion. This is one that every project struggles with. I used to have util-modules strewn all over my code before, but now I tend to collect them in a core-module, just as you say. I'll add it to my list of articles-to-write.

madalinpopa commented 1 year ago

Thank you @shezi I would love to hear how you deal with this challenge. I think this repo is pure gold and it is great idea to document all these Django "challenges" in one place.