Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrote some code for archives page #60

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ilkaynazli
Copy link

changed the archives page, can see the tweets day by day now also added get_output() function to get output from database (I used it for /homepage and /archives route). Next step could be changing the dates to links and using AJAX to see what's tweeted on a single day.

ilkaynazli and others added 2 commits November 21, 2018 04:15
…ed get_output() function to get output from database (I used it for /homepage and /archives route)
model.py Outdated
@@ -20,7 +20,7 @@ def __repr__(self):


def connect_to_db(app,
db_uri="postgresql://username:password@localhost:port/newb"):
db_uri="postgresql:///newb"):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to leave this changed?

server.py Outdated
connect_to_db(app, "postgresql://username:password@localhost/newb")
app.run(port=5000)
connect_to_db(app, "postgresql:///newb")
app.run(host="0.0.0.0")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same question here!

@ilkaynazli
Copy link
Author

Oh no, sorry. That's was just because we use vagrant. I can change it later today if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants