Questions tagged [wiki]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

CS50 Web - Wiki - How to include user input within URL

I've been reading and trying different approaches to showing content of an entry to a user for 4 days. I can't seem to find any solution, I guess I don't understand how creating URLs in Django works. ...
phnlg's user avatar
  • 1
0 votes
1 answer
60 views

cs50w project 1 wiki search issues

There are issues with my search code. Example: If the query does not match the name of an encyclopedia entry, the user should instead be taken to a search results page that displays a list of all ...
Matrix's user avatar
  • 67
0 votes
1 answer
200 views

Cs50 web programming project 1 wiki (django) runserver connection refused error

I am using Django for the first time. like the lecture said I tried python manage.py runserver but on clicking the link it doesn't show django default page. instead I see this This site can’t be ...
Pragati Chauhan's user avatar
0 votes
1 answer
663 views

CS50W Project Wiki search function

I am trying to write the search function where the user submits a wiki search. If the query is in the given list of entries, the user should be redirected to related entry's page. If the query doesn't ...
user17470872's user avatar
1 vote
1 answer
67 views

cs50 web programming, wiki: extend function not working

I'm currently on project 1 wiki in cs50 web. The distribution code already gave me the blocks on layout.html and extend functions on index.html. For some reason, the code I put in the blocks in index....
qwerty101's user avatar
0 votes
1 answer
111 views

CS50 web - Problem 1, wiki

I'm confused by paths in Django. In the source code for the 'Wiki' problem, the file "wiki/urls.py" has this code (1) in it: urlpatterns = [ path('admin/', admin.site.urls), path('', ...
David S's user avatar
0 votes
1 answer
217 views

CS50 web - problem 1, Wiki. Python syntax error

I'm just getting started with CS50 Web's problem 1 (wiki). I've got the code and I'm trying to run the Django server for the first time to see what the source code gives me. I have made no edits to ...
David S's user avatar
0 votes
1 answer
82 views

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)

I'm doing a project of CS50's Intro to Web Programming with Javascript and Python(Pset1 : Wiki). While creating a new entry/page I'm asking the user for a title and content for the page. After which I'...
Abhyuday Vaish's user avatar
0 votes
1 answer
386 views

cs50w Project 1 Wiki Search: layout.html failing to submit POST to views.py

currently working on the search function for project 1. I've updated layout.html, urls.py, and views.py, but when I input anything into the search bar layout.html does not pass the POST information to ...
Jason Tan's user avatar
0 votes
1 answer
717 views

Edit Function Help - CS50 Web Project1 Wiki

I've been having trouble with the edit function for the wiki project1. So far I've tried many different approaches but nothing has worked. I have the "edit" button on every entry page of the ...
user14567126's user avatar
1 vote
3 answers
749 views

Help with Search Bar - Wiki Project1 CS50 Web Django

For the Wiki project I'm having trouble implementing the search bar. I have spent about 2 days researching search bars in Django, but so far everything I've tried yields the same result: No matter ...
user14567126's user avatar
0 votes
1 answer
304 views

CS50Web: Project1 Wiki - Error loading markdown2 module

I've tried to import the markdown2 module in my views.py file but I get an error ModuleNotFoundError: No module named 'markdown2'. I've tried restarting my machine, uninstalling and reinstalling the ...
hrithikbansal's user avatar
0 votes
1 answer
821 views

CS50 Web Python Project 1 Wiki: entry method causes search method to break

I'm working on Project 1 Wiki. I've independently got the entry and search functions to work, entry works by itself and search works by itself. If un-comment the code related to entry, search breaks. ...
UUanderson's user avatar
1 vote
0 answers
711 views

CS50 Web 2020, Project 1 - Wiki, CSS not working

I'm currently using Django as explained in cs50w 2020 lecture 3. Under the static folder inside encyclopedia directory is the styles.css. This was in the distro code and there is already some styles ...
Jeevan Kumar's user avatar