Questions tagged [django-3.1]

Django 3.1 is a version of the Django framework, released in August 2020. Please only use this tag if your question relates specifically to this version.

Django 3.1 works with Python 3.6, 3.7, 3.8, and 3.9.

Here are some of the salient features of Django 3.1:

Django 3.1 was released in August 2020 and was supported until August 2022.

126 questions
0
votes
2 answers

Django "Model.objects.create()" linking two fields/relationship

kindly correct me with the tittle if it is wrong or misleading, thanks. I am very new to Django Python. I am using Django 3.1.1. My question is about the "Model".objects.create(), I use it with ajax to save or create data in my Logger…
0
votes
1 answer

Cannot check multiple lines string in django

I actually want to check the answer from user is correct or incorrect. When I tried in dummy data with pure python code, it work properly. But, when I try to add it into django, it doesn't valid for multiple lines and only valid for one line. I…
binpy
  • 3,994
  • 3
  • 17
  • 54
0
votes
0 answers

Integrating normal HTML form with Django form

What I am trying to do is have a form that has this HTML:
{% csrf_token %}