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

Error in builder = ViewBuilder #15

Closed marcoshemann closed 7 years ago

marcoshemann commented 8 years ago

Now , in this version when I run:

from crudbuilder.views import ViewBuilder builder = ViewBuilder('cadastro', 'cadastro', 'CadastroCrud') builder.generate_crud() I take this error: File "/home/wm.0.2/lib/python3.4/site-packages/crudbuilder/abstract.py", line 78, in get_inlineformset if self.crud.inlineformset: AttributeError: 'str' object has no attribute 'inlineformset'

In CadastroCrud there are

inlineformset = None

I try but I dosent find a error.

Regards,

asifpy commented 8 years ago

The latest version doesn't handle the extendability. I will look into the error which you sent and update the code based on that.

marcoshemann commented 7 years ago

This is ok now.