Browse Source

Fixed a typo in files documentation. Fixes #8180.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Jacob Kaplan-Moss 16 years ago
parent
commit
6a06db0491
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/files.txt

+ 1 - 1
docs/files.txt

@@ -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):
         ...