Browse Source

since we no longer use extlib, get rid of .blank?

Erik Frey 13 years ago
parent
commit
7c843e4906
1 changed files with 1 additions and 1 deletions
  1. 1 1
      recipes/django.rb

+ 1 - 1
recipes/django.rb

@@ -116,7 +116,7 @@ if app["database_master_role"]
   
   # we need the django version to render the correct type of settings.py file
   django_version = 1.2
-  if app['pips'].has_key?('django') && !app['pips']['django'].blank?
+  if app['pips'].has_key?('django') && !app['pips']['django'].strip.empty?
     django_version = app['pips']['django'].to_f
   end