当前分类:django-generic-views

python - 在 Django 中评论其他评论

python - 在通用 View 上收到意外的关键字参数 'pk'

python - 将表单集保存在 UpdateView 中

python - 如何在应用程序的 urls.py 中设置通用 View ?

python - Sucess_url 基于来自 urls.py 的 GenericView 中的 pk

python - 在 ListView 中使用 get_context_Data 进行 paginate_by 时,页面显示所有行

Django 测试失败,通用 CreateView 中的 get_inital 中的 request.user

django - 在基于类的通用 View CreateView 中访问 request.user 以便在 Django 中设置 FK 字段

django - 使用 get_queryset() 方法或设置查询集变量?

python - 如何使用通用 View 重定向登录用户查看 Django 中的登录页面

python - Django UpdateView 不上传 ImageField

python - Django 更新 View : define fields dynamically via function instead of a member variable

python - Django 通用登录 View 自动创建变量?

python - 使用 Django,如何将模型的 ForeignKey 添加到 CreateView?

python - 窗体 View : View didn't return an HttpResponse object

python - 如何统计与ListView中显示的项目相关的对象?

python - 具有多个参数的 Django 通用 View

python - 没有所有字段的 django ModelForm - 自动填充它们

python - UpdateView 不会保存表单,按保存后出现 404 错误

python - 在 drf 中应该使用什么通用 View 来创建好友请求?

热门标签: