One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # views.py | |
| from myproject.myfunctions import upload_profile_picture | |
| def profile_picture(request): | |
| # setup (checking for post, checking if the | |
| # user is authenticated, etc.) | |
| user = request.user | |
| pic_file = request.FILES['profile_picture'] | |
| result_url = upload_profile_picture(pic_file) |
| # Logs | |
| logs | |
| *.log | |
| *.log* | |
| # Diagnostic reports (https://nodejs.org/api/report.html) | |
| report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | |
| # Runtime data | |
| pids |
echo 'export PATH="${HOME}/.local/bin:$PATH"' >> ~/.bashrc
(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {