jazzband / django-rest-knox

Authentication Module for django rest auth
MIT License
1.17k stars 213 forks source link

Fix migrate zero problem on django 4.0.4 #270

Closed lubaskinc0de closed 1 year ago

lubaskinc0de commented 2 years ago

fix django.db.migrations.exceptions.IrreversibleError: Operation <RunPython <function cleanup_tokens at 0x0000027CCB764820>> in knox.0006_auto_20160818_0932 is not reversible error when python manage.py migrate knox zero

pickfire commented 1 year ago

Any updates on this?

giovannicimolin commented 1 year ago

@pickfire Sorry, haven't caught up with all the open issues and PRs yet. I don't have a lot of bandwidth but I'll try to keep things moving here. I'll review this this week.

giovannicimolin commented 1 year ago

@lubaskinc0de Thanks for the contribution!

@lubaskinc0de @pickfire Changes merged, but I still don't have access to Pypi, so I recommend pulling this library from got for now. See/follow https://github.com/jazzband/django-rest-knox/issues/304 for more details.