Skip to content

Instantly share code, notes, and snippets.

View ConfidenceYobo's full-sized avatar
Coding

Confidence Yobo ConfidenceYobo

Coding
View GitHub Profile
@ConfidenceYobo
ConfidenceYobo / README-Template.md
Created July 28, 2020 07:11 — forked from ayesha-ghani098/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

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.

Prerequisites

# 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)