3 ms·
I really like this, I'm looking forward to digging through the source and finding out how folks set up their django apps.
by schpet 14y ago
I really like this, I'm looking forward to digging through the source and finding out how folks set up their django apps.
- whalesalad 14y agoI came here to comment just this. I downloaded it for fun and was stoked to see manage.py! Interesting indeed to explore others' conventions. I particularly like settings as a module. One thing I tend to avoid, however (of course this is just my personal taste) is templates in each sub-app. I feel like at that point there are just too many nested directories. I'd rather have one global templates dir for the entire project.
- overshard 14y agoI often-times argue with myself over this. I do agree that one global template dir is nice but it makes the apps less copy-and-paste-able and I feel like Django apps were meant to be somewhat self-contained. However, sometimes you have so many cross-links between apps in Django projects that taking out a single app to use in another project basically breaks most of the functionality. There are big pros and cons for doing it either way.
- whalesalad 14y agoHow often do you take an app, drop it somewhere, and never modify it? I stick to "my way" because I always end up modifying the hell out of templates.
- bbit 14y agoEmail me: I have a question mmyrtle@gmail.com