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
c92ba594
Commit
c92ba594
authored
Feb 15, 2010
by
Ben Firshman
Browse files
README tweaks
parent
74d63c91
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.markdown
View file @
c92ba594
...
...
@@ -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:
Although
``upload_to``
is a required
argument on
``FileField``
, it is not
used for
storing files in the database
. 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