Fixed a typo in files documentation. Fixes #8180.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6185093351
commit
6a06db0491
|
@ -226,7 +226,7 @@ For example, the following code will store uploaded files under
|
|||
from django.db import models
|
||||
from django.core.files.storage import FileSystemStorage
|
||||
|
||||
fs = FileSystemStorage(base_url='/media/photos')
|
||||
fs = FileSystemStorage(location='/media/photos')
|
||||
|
||||
class Car(models.Model):
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue