5 ms·
Can anyone recommend any similar existing resources?
by samg 15y ago
Can anyone recommend any similar existing resources?
- igorgue 15y agoI always liked Jacob's http://www.slideshare.net/jacobian/django-in-the-real-world-1750000 http://www.slideshare.net/jacobian/django-in-the-real-world-...
- gregsadetsky 15y agoIt is great! Unfortunately, it can't be downloaded from SlideShare, although you can from here: http://toys.jacobian.org/presentations/2009/oscon/real-world-django.pdf http://toys.jacobian.org/presentations/2009/oscon/real-world...
- gregsadetsky 15y agoThere's "Django Best Practices", which was discussed two months ago (although it doesn't seem like it grew a lot since): http://lincolnloop.com/django-best-practices/ http://lincolnloop.com/django-best-practices/ HN discussion: http://news.ycombinator.com/item?id=2936364 http://news.ycombinator.com/item?id=2936364 Any effort to assemble "field" knowledge around Django would be great. For instance, I was looking for best practices for splitting settings.py (separating dev, test and prod-specific configs). If anybody's interested, I went through: http://stackoverflow.com/questions/88259/how-do-you-configure-django-for-simple-development-and-deployment http://stackoverflow.com/questions/88259/how-do-you-configur... , http://www.djangobook.com/en/2.0/chapter12/ http://www.djangobook.com/en/2.0/chapter12/ (under "Using Different Settings for Production") and https://code.djangoproject.com/wiki/SplitSettings https://code.djangoproject.com/wiki/SplitSettings ...
- Encave 15y agoMy normal settings structure is as follows: * settings/__init__.py * settings/base.py * settings/development.py * settings/staging.py. * settings/production.py * settings/credentials.py This allows me to have a base settings file which the others inherit from, and all settings are tracked in git apart from passwords which are stored in credentials.py. Unlike some other approaches, installed apps are just defined once (in the base), but apps can be added/removed for each environment.
- vacanti 15y agoWe just posted on how Yipit handles settings: http://tech.yipit.com/2011/11/02/django-settings-what-to-do-about-settings-py/ http://tech.yipit.com/2011/11/02/django-settings-what-to-do-...