Commit d1cadea4 authored by Diederik van der Boor's avatar Diederik van der Boor
Browse files

Fix README example

parent e6b54c7e
...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment