]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: skip virtualenv when searching for django apps
authorMichael Wood <michael.g.wood@intel.com>
Mon, 27 Oct 2014 19:03:06 +0000 (19:03 +0000)
committerAlexandru DAMIAN <alexandru.damian@intel.com>
Thu, 20 Nov 2014 15:43:57 +0000 (15:43 +0000)
commit3f614295d688c33b690f63ff7eb28e6988707919
tree9d8018dbd655434c9749ab20573611b834f1896c
parentd4a47bc84f762666a847f1152cc2e75c9ef36092
toaster: skip virtualenv when searching for django apps

If we are using a virtualenv in the current search path we end up trying
to add modules to the django apps list which do not have the correct
load path or are internal to other modules. Fix this by skipping the
virtualenv path.

[YOCTO #6896]

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
lib/toaster/toastermain/settings.py
lib/toaster/toastermain/urls.py