Permalink
Browse files

Django in versions is no longer 'django' but 'Django'

  • Loading branch information...
brodul committed Mar 1, 2013
1 parent a195a3b commit 64762ddbb56a4beaf061a615d49adbdaf018cd9a
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/djangorecipe/recipe.py
@@ -114,7 +114,10 @@ def create_project(self, project_dir):
version = None
b_versions = self.buildout.get('versions')
if b_versions:
- django_version = b_versions.get('django')
+ django_version = (
+ b_versions.get('django') or
+ b_versions.get('Django')
+ )
if django_version:
version_re = re.compile("\d+\.\d+")
match = version_re.match(django_version)

0 comments on commit 64762dd

Please sign in to comment.