,Decimal,Char,File,Float,FilePath,Text#,Time,Binary,Boolean,BigInterger,NullBoolean,Image,#Interger,OneToOne...publication_date = models.DateField() // 时间类型字段
publisher = models.ForeignKey(Publisher) // 引用信息(外键)...'
所有的model都拥有一个objects管理器
使用filter方法可以过滤obj Publisher.objects.filter(name='usa')
模糊查询...`title `
{% endfor %}
{% else %}
没有查询到任何图书信息
{% endif %}
12345678910111213141516171819202122232425...search_form.html
Search
{% if error %}
请输入查询条件