Skip to content

Instantly share code, notes, and snippets.

@therealbill
Created August 24, 2012 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealbill/3455614 to your computer and use it in GitHub Desktop.
Save therealbill/3455614 to your computer and use it in GitHub Desktop.
How I'd like to have my Flask project
/siteroot/
runserver.py
site.wsgi
/templates/ (for root/global templates)
layout.html
/static/
/css/
/js/
/section1/
__init__.py
views.py
/templates/ (for section specific templates)
section_layout.html
page1.html
page2.html
/static/ (for section specific static files)
/css/
/js/
/section2/
__init__.py
views.py
/templates/
section_layout.html
page1.html
page2.html
/static/
/css/
/js/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment