Skip to content

AlexJJGreen/organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Organizer w/ Flask

NB. Blueprint Route Config

Initialize an instance of the Blueprint class IN the init file, and import routes from . exactly as the top level init. Now all behaviours within the module map to top level behaviours except the blueprint is now imported to pertinent files rather than top level app.

NB. BLUEPRINTS STATIC URL BEHAVIOUR

https://www.reddit.com/r/flask/comments/61niyi/af_static_folder_with_blueprints/

NB. Blueprints and databases - Here's the fix: 2nd Answer

https://stackoverflow.com/questions/13058800/using-flask-sqlalchemy-in-blueprint-models-without-reference-to-the-app

many to many primary key constraint

https://stackoverflow.com/questions/24872541/could-not-assemble-any-primary-key-columns-for-mapped-table

1 to many joins

import the object and pass as arg to foreign key rather than referring to table!!!

About

organize everything app!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages