Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
d1cadea4
Commit
d1cadea4
authored
Oct 11, 2016
by
Diederik van der Boor
Browse files
Fix README example
parent
e6b54c7e
Changes
1
Show whitespace changes
Inline
Side-by-side
README.rst
View file @
d1cadea4
...
@@ -50,7 +50,7 @@ In a Django model, add the ``PrivateFileField``:
...
@@ -50,7 +50,7 @@ In a Django model, add the ``PrivateFileField``:
class MyModel(models.Model):
class MyModel(models.Model):
title = models.CharField("Title", max_length=200)
title = models.CharField("Title", max_length=200)
file = PrivateFileField("
Title", upload_to="mymodel
")
file = PrivateFileField("
File
")
The ``PrivateFileField`` also accepts the following kwargs:
The ``PrivateFileField`` also accepts the following kwargs:
...
...
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