Added small testing framework for the middleware.

This commit is contained in:
2013-10-13 17:30:31 +01:00
parent e2606e35fd
commit 438874e148
11 changed files with 289 additions and 15 deletions

10
manage.py Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_project.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)