开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
django-models

django-models

go

检查一个ID是否存在于另一个模型的字段中,并获取相关联的数值。

英文: Check if an id is in another model's field, and get the connected values 问题 给定这两个模型: class E...
huangapple 2023年5月28日143评论django python
go

Django REST框架验证一直返回NONE。

英文: django rest framework authenticate keep returning NONE 问题 Here's the translation of the code por...
huangapple 2023年5月25日144评论django python
go

Django的normalize()显示为1E+1。

英文: Django normalize() is showing 1E+1 问题 我正在尝试在我的模型中创建一个函数来显示产品信息,而在我的模型中,我有以下内容: class Product(mod...
huangapple 2023年5月25日112评论django django-models
go

无法迁移,模型中的外键引起了问题。

英文: Not able to migrate, Foreignkey in models is causing the issue 问题 It seems like you're encounter...
huangapple 2023年5月25日115评论django django-models
go

Unique_together在字段为null时不起作用。如何约束它?

英文: Unique_together doesn't work if a field is null. How to constrain it? 问题 我有一个像这样的模型: class P...
huangapple 2023年5月24日114评论django django-models
go

验证Django rest中的序列号与掩码。

英文: Validation of the serial number against the mask in Django rest 问题 以下是翻译好的部分: models.py from dja...
huangapple 2023年5月24日137评论django python
go

Django的only()和values()与prefetch_related()不兼容。

英文: Django only() and values() are not working with prefetch_related() 问题 I want to filter the field...
huangapple 2023年5月22日133评论django sql
go

How to sort a model's objects if the model has foreign key relations and I have to sort based on the properties of the foreign model?

英文: How to sort a model's objects if the model has foreign key relations and I have to sort base...
huangapple 2023年5月22日143评论django python
go

“forms.py” 中的 Django 清除函数不起作用。

英文: django clean function in forms.py does not work 问题 我正在阅读一本名为《使用Django进行Web开发》的书,我非常喜欢它。书中教授的其中一件...
huangapple 2023年5月22日104评论django django-models
go

获取已循环的每个项目的名称。

英文: How can i get the name of each item that has been looped? 问题 You want to dynamically change the ...
huangapple 2023年5月21日156评论django django-models
18

文章导航

1 … 3 4 5 6 7 8 9 10 11 … 18
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17075967

热门标签

r json android flutter c# typescript pandas java node.js spring-boot javascript arrays python spring go sql c++ html reactjs css

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码