Anonymous committed b1487b9

Fixed issue #90, changing 66 failures to passes

  • Participants
  • Parent commits c48994b

Comments (0)

Files changed (2)

File django/conf/project_template/

 #!/usr/bin/env python
 from import execute_manager
-    import settings # Assumed to be in the same directory.
+    settings = __import__('settings', globals(), locals(), [], -1) # Assumed to be in the same directory.
 except ImportError:
     import sys
     sys.stderr.write("Error: Can't find the file '' in the directory containing %r. It appears you've customized things.\nYou'll have to run, passing it your settings module.\n(If the file does indeed exist, it's causing an ImportError somehow.)\n" % __file__)

File django/utils/

             yield v
     def items(self):
-        return list(self.iteritems())
+        return list(getattr(self, items)()
     def keys(self):
-        return list(self.iterkeys())
+        return list(getattr(self, keys)()
     def values(self):
-        return list(self.itervalues())
+        return list(getattr(self, values)()
     def has_key(self, key):
         for dict_ in self.dicts: