Okay I figured this one out on my own...I just added the following code...
new_comment.save()
comment_form = CommentForm() - #(I added this line and it's working
properly now)
else:
comment_form = CommentForm()
On Wednesday, 16 March 2016 16:45:31 UTC-7, parker smith wrote:
>
> Hell
I can modify position and look of the {{ form.to }} with {{ form.to }} tags and css but I don't
think that's the intention...
On Wednesday, 16 March 2016 16:45:31 UTC-7, parker smith wrote:
>
> Hello,
>
> I am working on the django by example book and in ch. 2 I am having issues
> getting the re
Hello,
I am working on Django by Example as a newb and am having issues in ch. 2...
we are setting up a commenting system for blog posts and everything works
except the form stays populated and there is no refresh after successfully
posting...the page is supposed to refresh and the form be clea
Hello,
I am working on the django by example book and in ch. 2 I am having issues
getting the recipient email to display inside the template tag...
here is the specific line of code that isn't working and what I changed it
to to get it some what working...
views.py code referencing cd -
I resolved this problem.
On Wednesday, 16 March 2016 18:07:08 UTC-7, parker smith wrote:
>
> I can modify position and look of the {{ form.to }} with style="position: absolute;">{{ form.to }} tags and css but I don't
> think that's the intention...
>
> On Wednesday, 16 March 2016 16:45:31 UTC-7,
5 matches
Mail list logo