Skip to content

MurielGordon/sip-from-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sip-from-flask

Study Drill #2 from "Getting Input From a Browser" section of Learn Python the Hard Way

A simple file upload form on localhost that will then display the uploaded file in your browser.

  • "Submit" button to initiate file save to /static/uploads.
  • File size and file type requirements must be met.
  • Failed submissions trigger error messages.
  • Successful file save triggers a redirect to /display localhost.
  • Stored file is then displayed at /display localhost with a message stating that the image was successfully uploaded and displayed.

Requirements:

  1. Python3
  2. Flask
  3. Werkzeug
  4. /templates repo
  5. /static/uploads repo

One Last Note:

The lessons_learned.md file is purely for my own edification, and a way for me to create a searchable record of the things I learned while working on this project. Feel free to ignore it, it has no practical application for making this project work.

About

just a wee dram of flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published