Open 73VW opened 2 months ago
I've been able to fix the error locally by adding the following in the __init__.py
from django.core import validators
...
@total_ordering
class DjangoField(object):
"""
Fake Django model field object which wraps a neomodel Property
"""
is_relation = False
concrete = True
editable = True
creation_counter = 0
unique = False
primary_key = False
auto_created = False
empty_values = list(validators.EMPTY_VALUES) # <- HERE
It seems that it has not changed in Django base field here since 2013. Adding this should not break backwards compatibility.
I am going to open a PR with this change so that we cas discuss it further.
Expected Behavior (Mandatory)
List of objects displaying correctly in admin.
Actual Behavior (Mandatory)
AttributeError: 'DjangoField' object has no attribute 'empty_values'
How to Reproduce the Problem
Not sure right now. Will keep this updated.
Simple Example
Datasets and Statements
Screenshots (where it's possibile)
Specifications (Mandatory)
Currently used versions
Versions
neo4j:5.22-community
django = "^5.0.7"