how to add correspondence between two models for example, the following two classes: from django.db import models class Question(models.Model): class Meta: verbose_name = verbose_name_plural = question_text = models....
in the process of learning Django, I encountered a problem that does not match the document case. Of course, it may also be an error caused by my own inability to use it. Paste the code and ask God to solve . I have found some similar problems on t...
question: if a website has admin (background), api interface, web site, database sharing, and feels that models sharing cannot be done), it is doubtful whether Django is only suitable for developing backend management type websites. ...
configure ssl.confvirtualhost httpd.confsslinclude httphttps the certificate was used by me before, and the original configuration file forgot to save after migrating the website. ...
Failed to get real commands on module "Learning_log ": python process died with code 1: Traceback (most recent call last): File "D:PyCharm 2017.1.2helperspycharm_jb_manage_tasks_provider.py ", line 28, in < module > parser.report_data(dumper, com...
I would like to ask you that if two projects are deployed in one port of nginx, which project is displayed if you access it with an ip address, and how to set the project displayed by default ...
there is an object A: function A(){ this.Avar = hello ; } A.prototype.breadcrumb = { push: function(){ console.info(this.Avar); } }; var a = new A(); I want to add a breadcrumb object, using new A (). Breadcrumb.push , but th...
: auto-upload= "false " after it is added, it will not be uploaded automatically. How can I upload it manually when I submit it? ...
when index is even, add a Col to the newly generated Row when Row,index is odd ...
to do a project, you need to write an animation. If you write it in css in the local demo, it will not be successful in less. Does less have a special way to write this? ...