My project is named main, and when I runserver I get this error.Anybody have any clue how to fix this error. Page not found (404) Request Method: GET Request UR
I'm trying to add user Profile in my django project. i was trying to access user post into the user Profile but its throws an error like this: Reverse for 'Pro
Following is my code in URL.py, views.py and HTML page. However, it returns me the error: TypeError: cannot unpack non-iterable int object. urlpatterns = [
Media file is not getting. The fields related to User model are working(eg. object.username, object.email) but field with ProfileImage is not working. urls.py
I have one model Dataset and another one called DatasetReview, where DatasetReview has a foreign key connection to Dataset. I would like to display all of the D
I am making a blog and I want to go to a specific blog post by clicking on a button. I know I need to use a primary key in the URL, but what is the syntax? And
I have created a project which is working nicely. I have a login page, signup page and profile page (as myspace). I just want to add an additional funtionality
I have the following urls.py file in my project directory: from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodisco
views.py file def details(request, id): post = Posts.objects.get(id=id) context = { 'post': post } return render(request, 'posts/details.html', context)