Skip to content

Django 3 compatibility #14

Description

@thenewguy

Need to update for Django 3. Traceback indicates importing some code that was removed from Django

$ /home/vagrant/.tox/py36/bin/python manage.py makemigrations
Traceback (most recent call last):
  File "manage.py", line 12, in <module>
    execute_from_command_line(sys.argv)

...

    from djcelery_model.models import ModelTaskMeta, TaskMixin
  File "/home/vagrant/.tox/py36/lib/python3.6/site-packages/djcelery_model/models.py", line 12, in <module>
    from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name 'python_2_unicode_compatible'
ERROR: InvocationError for command /home/vagrant/.tox/py36/bin/python manage.py makemigrations (exited with code 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions