Questions tagged [wiki]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
13 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....
1
vote
0answers
355 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 ...
0
votes
0answers
12 views

CS50 Web Wiki Edit Form. Form is returning empty in the edit function

I am having issues with an empty form being provided in the edit function. Everything works well but when I try to edit an entry I get a Value Error saying the HTTPResponse is None and that the ...
0
votes
0answers
14 views

remove 'this field is required' text above django form in wiki

I have a style problem for the wiki project in cs50 web dev. It's one I could ignore and everything would still work, but I have been unable to solve it, and would like to learn what I am missing. I ...
0
votes
0answers
8 views

what is the difference between the 'wiki' vs. 'encylopedia' folder is project 1 django?

In the starter code there is a folder called encyclopedia and another folder called wiki. I know there's only one app according to the instructions, and that is encyclopedia. Is wiki suppose to be an ...
0
votes
0answers
28 views

Calling a function on POST

I am doing Project 1 for CS50 Web. I have successfully managed to implement all search functions, but now I want to be able to call this search function from any page, up to now it was hard-coded to ...
0
votes
0answers
59 views

CS50 Web Wiki Project Edit Form adding extra lines to textarea

Everything is working properly in terms of editing and redirects, however there is a strange occurence where multiple extra empty lines are added between each line of the markdown content everytime ...
0
votes
0answers
152 views

cs50w Wiki Edit Function: successful edit but NoReverseMatch for edit thrown

My edit function throws a NoReverseMatch (Reverse for 'editpage' with arguments '('',)' not found. 1 pattern(s) tried: ['editpage/(?P[^/]+)/$']) when I try and submit edits on the page. However, when ...
0
votes
1answer
187 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 ...
0
votes
1answer
121 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 ...
0
votes
1answer
520 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. ...