Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fdw-forks
django-database-files
Commits
3c3ebeed
Commit
3c3ebeed
authored
Jun 10, 2011
by
Ben Firshman
Browse files
Added run_tests.sh
parent
768ad9c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3c3ebeed
...
...
@@ -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
run_tests.sh
0 → 100755
View file @
3c3ebeed
#!/bin/sh
PYTHONPATH
=
.
DJANGO_SETTINGS_MODULE
=
"database_files.tests.settings"
django-admin.py
test
tests
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment