From e1c85167a3de7adf51105d5f0751b39fa0d49ba7 Mon Sep 17 00:00:00 2001 From: David Hoffman Date: Fri, 25 Jul 2014 21:34:13 -0400 Subject: Fixed #23097 -- Switched to new octal format in docs --- docs/ref/django-admin.txt | 2 +- docs/ref/settings.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index b2d2f44366..7d40347079 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -836,7 +836,7 @@ Write stderr to the *FILE* file. ``umask=UMASK`` Umask to use when daemonizing. The value is interpreted as an octal number -(default value is ``022``). +(default value is ``0o22``). Example usage:: diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index cf64015d04..c0f69096ee 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1281,13 +1281,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. This setting also determines the default permissions for collected static files -- cgit v1.3