Auto-populating created_by field with Django admin site

前端 未结 3 1425
梦谈多话
梦谈多话 2020-12-12 23:04

I want to use the Django admin interface for a very simple web application but I can\'t get around a problem that should not be that hard to resolve ..

Consider the

3条回答
  •  轮回少年
    2020-12-12 23:40

    I really wanted a better solution than the ones I found elsewhere, so I wrote some middleware - implementation on the Populate user Id question. My solution requires no changes to any form or view.

提交回复
热议问题