diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 4 | ||||
| -rw-r--r-- | docs/ref/settings.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 1ae6f4e176..fe530598cd 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -687,8 +687,8 @@ Write stderr to the *FILE* file. ``umask=UMASK`` -Umask to use when daemonizing. The value is interpeted as an octal number -(default value is ``022``). +Umask to use when daemonizing. The value is interpreted as an octal number +(default value is ``0o22``). Example usage:: diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 5b477fc525..7452801276 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1114,13 +1114,13 @@ FILE_UPLOAD_PERMISSIONS Default: ``None`` -The numeric mode (i.e. ``0644``) to set newly uploaded files to. For +The numeric mode (i.e. ``0o644``) to set newly uploaded files to. For more information about what these modes mean, see the documentation for :func:`os.chmod`. If this isn't given or is ``None``, you'll get operating-system dependent behavior. On most platforms, temporary files will have a mode -of ``0600``, and files saved from memory will be saved using the +of ``0o600``, and files saved from memory will be saved using the system's standard umask. .. warning:: |
