3 ms·
That looks like rails. What made you settle on this given that Django promotes a different structure? I am curious as I like this approach as well, but would be
by digitaltrees 8y ago
That looks like rails. What made you settle on this given that Django promotes a different structure? I am curious as I like this approach as well, but would be nervous about making life harder by not following the framework and community path.
- jarcoal 8y agoBeen building Django apps for almost 10 years and after seeing the amount of wasted time going into organizing things into apps, I settled on this technique. It doesn’t really swim against the current as long as you import models into the __init__.py file in their package.
- Scarblac 8y agoWe do this too on some projects, it's painless. As far as I know Django doesn't really have an opinion on this, you have a lot of freedom in how you organize your project.