Django get_absolute_url 用法

来源:互联网 发布:windows to go mac 编辑:程序博客网 时间:2024/04/30 15:32
You don’t even need to provide a success_url forCreateView orUpdateView - they will useget_absolute_url() on the model object if available.
原创粉丝点击