Questions tagged [wiki]
The wiki tag has no usage guidance.
15
questions
0
votes
1
answer
32
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 ...
0
votes
0
answers
46
views
CS50 web: wiki edit NoReverseMatch
I'm working on CS50 Web's Project1. For some reason I keep getting this error message:
In my interpretaion, the error message is raised because I didn't provide a required argument for the path, but ...
0
votes
1
answer
109
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 ...
0
votes
0
answers
22
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
0
answers
385
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 ...
1
vote
1
answer
32
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....
0
votes
1
answer
57
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('', ...
0
votes
1
answer
122
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 ...
0
votes
1
answer
62
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'...
0
votes
1
answer
287
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
1
answer
427
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 ...
1
vote
2
answers
506
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 ...
0
votes
1
answer
177
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
1
answer
690
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. ...
1
vote
0
answers
458
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 ...