Flask-Web-App-Tutorial
Flask-Web-App-Tutorial copied to clipboard
Code for the note storing flask web app made during a YouTube video.
pls help me out
 i had this error after i tried adding blueprints for views and auth about 19 mins into the video
Encryption method changed from sha256 to pbkdf2:sha256 - was giving a ValueError. Additionally hides instance/database.db from .gitignore
When I press "x" the page gets refreshed but theitems don't get deleted. You can see my views.py here ``` from flask import Blueprint, render_template, request, flash, jsonify from flask_login...
 SQLAlchemy.create_all() got an unexpected keyword argument 'app' `from flask import Flask from flask_sqlalchemy import SQLAlchemy from os import path db = SQLAlchemy() DB_NAME = 'database.db' def create_app(): app =...
on click event parameter passing formatted from ` onClick ="deleteNote({{note.id}})" ` to `onClick ="deleteNote('{{note.id}}')"` In Inline-Javascript, eventhandling is `onclickevent = "func('parameter')" ` .Where parameter in this case should be inline...
These changes solve issues #83 and #95 . There have been changes made in the os.path.join as in no longer exists and so I have changes. also, the login function...
base.html --> removed index.js script because deleteNote used only by home.html home.html --> backtick is added to remove js error init.py --> no longer create database function is needed
hey tim thanks for this great tutorial, please accept my humble fix in bootstrap closing button.
this change resolve issue #121 by adding badge for current user identification sign-off-by: abdullah