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
74d63c91
Commit
74d63c91
authored
Feb 15, 2010
by
Ben Firshman
Browse files
README formatting
parent
de557851
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.markdown
View file @
74d63c91
...
...
@@ -22,12 +22,12 @@ Installation
Usage
-----
In
``settings.py``
, add
``'database_files'``
to your INSTALLED_APPS and add this line:
:
In
``settings.py``
, add
``'database_files'``
to your INSTALLED_APPS and add this line:
DEFAULT_FILE_STORAGE = 'database_files.storage.DatabaseStorage'
Although the
``upload_to``
argument on
``FileField``
is required, it is not
used by
``database_files``
. Just set it to a dummy value:
:
used by
``database_files``
. Just set it to a dummy value:
upload = models.FileField(upload_to='not required')
...
...
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