Questions tagged [project2]

The tag has no usage guidance.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

What do we mean by "close" auction.?

In the Project, one of the objectives is: If the user is signed in and is the one who created the listing, the user should have the ability to “close” the auction from this page, which makes the ...
user avatar
  • 1
0 votes
1 answer
133 views

CS50W - Django Forms vs HTML Forms

CS50W 2020 - Project 2 - Commerce How come in lecture 3 (https://cs50.harvard.edu/web/2020/notes/3/#django-forms) Django forms are used, but in lecture 4 (like here: https://cs50.harvard.edu/web/2020/...
user avatar
0 votes
1 answer
87 views

Please help with socketio messaging

I can't seem to get a message sent to the server and then added to my html document as a list item using socketio. I get to type in a message and click the send button, but then nothing happens. As ...
user avatar
0 votes
1 answer
118 views

CS50W Project2: communication between SocketIO and JavaScript

I'm trying to get new channel names input by the user to 1) show up on the screen in an unordered list and 2) also show up on other users' screens. I tried to closely follow the template that was used ...
user avatar
  • 63
0 votes
1 answer
26 views

How to simulate different users using only one machine

I am using LocalStorage to save the display name and it does remember the display name after the browser is closed. However to simulate different users on the same machine chatting to each other, I ...
user avatar
0 votes
1 answer
1k views

Disable caching of css and js file in flask on Safari or Chrome?

Is there any way so that on refresh it loads css , js file automatically in flask . I am using MacOS and using two browser Safari and Chrome . Currently on safari I have to clear cache and refresh the ...
user avatar
0 votes
1 answer
146 views

CS50 Web Development Project 2 Attribute Error: module 'engineio' has no attribute 'WSGIApp'

This is my first time trying to run flask on Linux, I've made projects 0 and 1 in Windows 7. I've been able to run Project 2 on Windows, right before I switched to Linux. As I enter "flask run" on the ...
user avatar
0 votes
1 answer
72 views

Getting the server to remember a user display name (cs50W project2)

so i've made other web applications that remember information about the user via login. However project 2 does not states the need to login, only that his display name should be remember when he ...
user avatar
  • 1
0 votes
0 answers
93 views

Issue with CS50W's Project2 - submitted text not passed to chat window

I have a problem regarding passing posted messages into the proper field and presenting them to the user. The app is supposed to transfer the text submitted in "messenger" into the "messages" so to ...
user avatar
0 votes
1 answer
405 views

CS50 Web programming with python: project2

When i'm running 'flask run' from the terminal window, I'm getting '* Serving Flask-SocketIO app "application"', however I don't get further provided with an URL!? Anyone any thought on that what the ...
user avatar
  • 59