Commits

Darie Petrov  committed fbf32c2

hack to permit django 1.4 project structure - testing

  • Participants
  • Parent commits fdb093d

Comments (0)

Files changed (1)

File silk_extras/django_membrane.py

 def is_django_project(folder):
     """Determine whether a folder is a Django project by looking for the
     presence of settings.py, manage.py, and __init__.py"""
-    testfiles = ('settings.py', 'manage.py', '__init__.py')
+    testfiles = ('manage.py',) #('settings.py', 'manage.py', '__init__.py')
     existences = [os.path.isfile(os.path.join(folder, x)) for x in testfiles]
     return reduce(lambda x, y: x and y, existences)