Browse Source

Removed some tabs in the docs.

Tim Graham 10 năm trước cách đây
mục cha
commit
73ff4498aa
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 2 2
      docs/ref/databases.txt
  2. 3 3
      docs/ref/files/storage.txt

+ 2 - 2
docs/ref/databases.txt

@@ -766,11 +766,11 @@ a quoted name as the value for ``db_table``::
 
     class LegacyModel(models.Model):
         class Meta:
-       	    db_table = '"name_left_in_lowercase"'
+            db_table = '"name_left_in_lowercase"'
 
     class ForeignModel(models.Model):
         class Meta:
-       	    db_table = '"OTHER_USER"."NAME_ONLY_SEEMS_OVER_30"'
+            db_table = '"OTHER_USER"."NAME_ONLY_SEEMS_OVER_30"'
 
 Quoted names can also be used with Django's other supported database
 backends; except for Oracle, however, the quotes have no effect.

+ 3 - 3
docs/ref/files/storage.txt

@@ -38,13 +38,13 @@ The FileSystemStorage Class
 
     .. attribute:: location
 
-	Absolute path to the directory that will hold the files.
+        Absolute path to the directory that will hold the files.
         Defaults to the value of your :setting:`MEDIA_ROOT` setting.
 
     .. attribute:: base_url
 
-	URL that serves the files stored at this location.
-	Defaults to the value of your :setting:`MEDIA_URL` setting.
+        URL that serves the files stored at this location.
+        Defaults to the value of your :setting:`MEDIA_URL` setting.
 
     .. attribute:: file_permissions_mode