[Answer]-OS X Django dev environment: linking to virtualenv django and apps media

1👍

Django deployment really isn’t too hard, but there are a couple of patterns that are useful. The first, is to split out your production and development settings. There are a number of different ways to do this, most of which are described in the django documentation.

Also, if you’re using Django >= 1.4, you don’t need to symlink to admin media anymore since it has been converted to using staticfiles.

I use this template when creating any new django 1.4 projects, which includes generating your production and local settings.

Symlinks shouldn’t be included in your git repo IMO. There are better ways of managing how to access your media.

Leave a comment