2
votes
Accepted
CS50W Project Wiki search function
I know this is late but if it helps somebody. The issue in your code is indentation. The moment the loop find the first matching substring it renders the page. Left indenting it by two levels should ...
1
vote
Accepted
Is there a way to replace the whitespace in the url whose part is some user input? i.e. User input contains whitespaces Pset1 (Wiki)
You can try replacing whitespaces with a hyphen before saving the entry. By doing this, you save the complete name of the entry and can use it as a url. For this, the search and title rendering will ...
1
vote
Accepted
Edit Function Help - CS50 Web Project1 Wiki
In the entry page, at the end you are specifying a url which should take you to the edit page. But instead it reloads the entry page as the path is 'entry' not 'edit'. If you do this small change then ...
1
vote
Help with Search Bar - Wiki Project1 CS50 Web Django
Nevermind, I have been able to figure it out. I had to use a GET request.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
wiki × 14cs50-web-programming-with-python × 10
project1 × 6
django × 6
cs50web × 3
cs50-web-django × 3
cs50w × 2
pset1 × 1
cs50-ide × 1
html × 1
search × 1
2020 × 1
url × 1
whitespace × 1