Commits

Anonymous committed 284f064

get_django_setting automatically converts argument to uppercase

  • Participants
  • Parent commits f51ce01

Comments (0)

Files changed (1)

     raise
 else:
     try:
-        print settings.__dict__['$1']
+        print settings.__dict__['`echo $1 | tr 'a-z' 'A-Z'`']
     except KeyError:
         print '$2'
 EOF