Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: miguelgrinberg/microblog
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0
Choose a base ref
...
head repository: miguelgrinberg/microblog
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Nov 27, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    miguelgrinberg Miguel Grinberg
    Copy the full SHA
    23b3fc8 View commit details
Showing with 14 additions and 0 deletions.
  1. +1 −0 .flaskenv
  2. +5 −0 app/__init__.py
  3. +7 −0 app/routes.py
  4. +1 −0 microblog.py
1 change: 1 addition & 0 deletions .flaskenv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FLASK_APP=microblog.py
5 changes: 5 additions & 0 deletions app/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from flask import Flask

app = Flask(__name__)

from app import routes
7 changes: 7 additions & 0 deletions app/routes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from app import app


@app.route('/')
@app.route('/index')
def index():
return "Hello, World!"
1 change: 1 addition & 0 deletions microblog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from app import app