krisfields / django-baker

Adds a management command that generates views, forms, urls, admin, and templates based off the contents of models.py
BSD 3-Clause "New" or "Revised" License
389 stars 51 forks source link

Django 3.0 support #25

Open glanzel opened 4 years ago

glanzel commented 4 years ago

I had this error:

File "/home/username/.local/lib/python3.7/site-packages/django_baker/bakery.py", line 10, in <module>
    from django.utils.six import iteritems
ModuleNotFoundError: No module named 'django.utils.six'

i changed it into from six import iteritems and now it works.

opencoca commented 3 years ago

Can confirm that this fixes things.

Also in admin.py from django.core.exceptions import FieldDoesNotExistneeds to replace from jango.db.models.fields import FieldDoesNotExist

opencoca commented 3 years ago

Please see and approve https://github.com/krisfields/django-baker/pull/26

opencoca commented 3 years ago

I've taken to reviewing pull requests to @krisfields django-baker and mannually mirroring them to my https://github.com/opencoca/django-baker