mfogel / django-matrix-field

A Django app providing database store for matrices.
13 stars 3 forks source link

AttributeError: module 'django.db.models' has no attribute 'SubfieldBase' #1

Open MudassiraTahneet opened 5 years ago

MudassiraTahneet commented 5 years ago

hello, i am completely new to django and i need to implement a matrix format input fields

when i am tryig to use django-matrix-field i get this ERROR

File "/home/Project/lib/python3.6/site-packages/matrix_field/fields.py", line 17, in MatrixField metaclass = models.SubfieldBase AttributeError: module 'django.db.models' has no attribute 'SubfieldBase'

9Sarkan commented 4 years ago

i have this problem too ;(

mfogel commented 4 years ago

This is likely caused because this project is out of date. Last commit was 7 years ago. That's before django 2.0, and I believe the api's for custom database fields changed somewhere around 2.0.

Pull requests to bring this app up-to-date and to a functional state happily entertained. Cheers.