I get an error when running DjangoBan
tetron432 opened this issue · 1 comments
tetron432 commented
Stack Trace error is;
File "/usr/local/lib/python3.7/site-packages/ban/models.py", line 7, in UsersBan help_text="Choose Username") TypeError: __init__() missing 1 required positional argument: 'on_delete'
I am using a custom model for my project.
AliYmn commented
Thank you for feedback, i fixed this problem. You can upgrade package 1.9.0 to 2.0.0 version.