Re: Form not being published

2020-03-30 Thread Metehan Gülaç
There is no problem in the code. Look again at the quote and typos in the form class. and do a trial with this view: from django.shortcuts import render from django.http import HttpResponseRedirect from .forms import CommentForm def my_view(request): if request.method == 'POST': for

Form not being published

2020-03-29 Thread Jeff Waters
I am creating a website using Django. I'd like to give users the chance to comment on pictures they have posted. I have created a comment model and a comment form, and put the following code into the HTML document for the photo gallery: Leave a comment {{ comment_fo