asifpy / django-crudbuilder

Generic CRUD implementation in Django
https://django-crudbuilder.readthedocs.org/en/latest/index.html
Apache License 2.0
193 stars 67 forks source link

package is broken with django-tables2.0.1 #67

Closed vincentwhales closed 2 years ago

vincentwhales commented 5 years ago
django-crudbuilder==0.2.7
django-tables2==1.21.2

This works

vincentwhales commented 5 years ago

For anyone searching if you are seeing something like this:

  File "/Users/vincentwhales/.virtualenvs/prometheus/lib/python3.6/site-packages/django_tables2/tables.py", line 173, in _check_types
    ', '.join([t.__name__ for t in types])
TypeError: Mymodel.model = <Mymodel: Mymodel object (None)> (type Mymodel), but type must be one of (ModelBase)
flaiming commented 3 years ago

I'am trying to make django-crudbuilder compatible with django-tables2 here: https://github.com/jieter/django-tables2/issues/775

russell310 commented 2 years ago

Issue fixed https://github.com/asifpy/django-crudbuilder/pull/76