Fix pour que les options initialization soient passees a djangorecipe. Cette version...
authorBenoit C. Sirois <benoit.clennett-sirois@auf.org>
Tue, 5 Feb 2013 21:49:45 +0000 (16:49 -0500)
committerBenoit C. Sirois <benoit.clennett-sirois@auf.org>
Tue, 5 Feb 2013 21:49:45 +0000 (16:49 -0500)
CHANGES
auf/recipe/django/recipe.py
setup.py

diff --git a/CHANGES b/CHANGES
index d778df4..ef58429 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+2.2
+===
+
+* Fix pour que les options de initialization fonctionnent.
+
 2.1
 ===
 
index 1c1dad6..5c1a20a 100644 (file)
@@ -79,6 +79,10 @@ class Recipe(OriginalDjangoRecipe):
                         extra_paths=extra_paths,
                         arguments="'%s.%s', logfile='%s'" % (
                             project, self.options['settings'],
-                            self.options.get('logfile'))))
+                            self.options.get('logfile')),
+                        initialization=self.options.get(
+                            'initialization',
+                            ''),
+                        ))
         zc.buildout.easy_install.script_template = _script_template
         return scripts
index 1776cae..cda6325 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
 from setuptools import setup, find_packages
 
 name = 'auf.recipe.django'
-version = '2.1'
+version = '2.2'
 
 setup(name=name,
       version=version,