Commit 3c3ebeed authored by Ben Firshman's avatar Ben Firshman
Browse files

Added run_tests.sh

parent 768ad9c8
......@@ -4,11 +4,10 @@ django-database-files
django-database-files is a storage system for Django that stores uploaded files
in the database.
BIG SCARY WARNING: It is generally a bad idea to serve static files from Django,
WARNING: It is generally a bad idea to serve static files from Django,
but there are some valid use cases. If your Django app is behind a caching
reverse proxy and you need to scale your application servers, it may be
simpler to store files in the database instead of using a distributed
filesystem.
simpler to store files in the database.
Requires:
......@@ -34,3 +33,8 @@ storing files in the database. Just set it to a dummy value:
All your ``FileField`` and ``ImageField`` files will now be stored in the
database.
Test suite
----------
$ ./run_tests.sh
#!/bin/sh
PYTHONPATH=. DJANGO_SETTINGS_MODULE="database_files.tests.settings" django-admin.py test tests
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment