#23097: Documentation on FILE_UPLOAD_PERMISSIONS uses deprecated octal notation
-------------------------------+--------------------
Reporter: jmv_deb@… | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.6
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Hello
Thank you for django.
In https://docs.djangoproject.com/en/1.6/topics/http/file-uploads
/#changing-upload-handler-behavior
and https://docs.djangoproject.com/en/1.6/ref/settings/#std:setting-
FILE_UPLOAD_PERMISSIONS
One is suggested to use octal notation like 0644. This doesn't work with
python3 (tried 3.4.1) and the correct notation now is 0o644. That notation
also works in python 2.7.
Cheers
--
Ticket URL: <https://code.djangoproject.com/ticket/23097>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.3473ddfcb3c21569ef81c8551ce733e2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.