diff --git a/dbfilestorage/storage.py b/dbfilestorage/storage.py index 133d919..f6f30d4 100644 --- a/dbfilestorage/storage.py +++ b/dbfilestorage/storage.py @@ -12,7 +12,7 @@ from .models import DBFile L = logging.getLogger(__name__) -class DBStorage(Storage): +class DBFileStorage(Storage): """ This is the Test Database file upload storage backend. This is used so that in our test database we always have uploaded diff --git a/docs/Makefile b/docs/Makefile index 68477f0..cee472b 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -4,7 +4,7 @@ # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build -SPHINXPROJ = DjangoDBStorage +SPHINXPROJ = DjangoDBFileStorage SOURCEDIR = . BUILDDIR = _build @@ -17,4 +17,4 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/conf.py b/docs/conf.py index febbc98..ab8fa01 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,9 +54,9 @@ author = u'Tyrel Souza' # built documents. # # The short X.Y version. -version = u'0.0.4' +version = u'0.1.0' # The full version, including alpha/beta/rc tags. -release = u'0.0.4' +release = u'0.1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/make.bat b/docs/make.bat index 3bea410..68b51be 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -9,7 +9,7 @@ if "%SPHINXBUILD%" == "" ( ) set SOURCEDIR=. set BUILDDIR=_build -set SPHINXPROJ=DjangoDBStorage +set SPHINXPROJ=DjangoDBFileStorage if "%1" == "" goto help diff --git a/setup.py b/setup.py index 2a10b26..e368c89 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ except ImportError: setup( name="django-dbfilestorage", - version="0.0.4", + version="0.1.0", description="Database backed file storage for testing.", long_description="Database backed file storage for testing. Stores files as base64 encoded textfields.", author="Tyrel Souza", diff --git a/tests/tests.py b/tests/tests.py index 60ff34f..25d4cc9 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -8,7 +8,7 @@ from django.test import TestCase, Client from django.test.utils import override_settings PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__)) -DEFAULT_FILE_STORAGE = "dbfilestorage.storage.DBStorage" +DEFAULT_FILE_STORAGE = "dbfilestorage.storage.DBFileStorage" @override_settings(DEFAULT_FILE_STORAGE=DEFAULT_FILE_STORAGE)