1. Antti Kaihola
  2. nose-django

Commits

akai...@veli  committed 84cce42

Ignore admin.py files to avoid admin class re-registration exceptions.

  • Participants
  • Parent commits a6e52c3
  • Branches no-admin-py

Comments (0)

Files changed (1)

File nosedjango/nosedjango.py

View file
  • Ignore whitespace
             settings.ROOT_URLCONF = self.old_urlconf
             clear_url_caches()
 
+    def wantFile(self, file):
+        if os.path.basename(file) == 'admin.py':
+            return False
+        return None