Can I change Django's auth_user.username field to be 100 chars long without breaking anything?

前端 未结 7 1512
眼角桃花
眼角桃花 2021-02-06 05:31

Before somebody marks this question as a duplicate of this question Can django\'s auth_user.username be varchar(75)? How could that be done? or other such questions on SO, pleas

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-06 05:53

    for future needs this is the best and easiest way i found out:

    https://github.com/GoodCloud/django-longer-username

提交回复
热议问题