diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-17 13:31:06 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-25 11:10:06 +0100 |
commit | 4b92add34167304b45c66b9726cbc64bc0f74d9f (patch) | |
tree | 14d8b0180ec1afc9c41062917fb04e6e3a6b9f1c /lib/toaster/toastermain | |
parent | 016b416fd0eaeab648a588053a2ee1f41bc02a84 (diff) | |
download | bitbake-4b92add34167304b45c66b9726cbc64bc0f74d9f.tar.gz |
toaster: bring django-aggregate-if into the project
We bring the django-aggregate-if module (with minor changes to import)
into the project.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/toastermain')
-rw-r--r-- | lib/toaster/toastermain/settings.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/toaster/toastermain/settings.py b/lib/toaster/toastermain/settings.py index 141ad0887..60e80de2f 100644 --- a/lib/toaster/toastermain/settings.py +++ b/lib/toaster/toastermain/settings.py @@ -393,3 +393,12 @@ class InvalidString(str): "Undefined variable or unknown value for: \"%s\"" % other) TEMPLATE_STRING_IF_INVALID = InvalidString("%s") + +import sys +sys.path.append( + os.path.join( + os.path.join( + os.path.dirname(os.path.dirname(os.path.abspath(__file__))), + "contrib"), + "django-aggregate-if-master") + ) |