-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes an error occuring in django >=5.0 See #102 for more details
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
from functools import total_ordering | ||
|
||
from django.conf import settings | ||
from django.core import validators | ||
from django.core.exceptions import ValidationError | ||
from django.db.models import signals | ||
from django.db.models.fields import BLANK_CHOICE_DASH | ||
from django.conf import settings | ||
from django.forms import fields as form_fields | ||
from django.db.models.options import Options | ||
from django.core.exceptions import ValidationError | ||
|
||
from neomodel import RequiredProperty, DeflateError, StructuredNode, UniqueIdProperty | ||
from neomodel import DeflateError, RequiredProperty, StructuredNode, UniqueIdProperty | ||
from neomodel.sync_.core import NodeMeta | ||
from neomodel.sync_.match import NodeSet | ||
|
||
|
||
__author__ = "Robin Edwards" | ||
__email__ = "[email protected]" | ||
__license__ = "MIT" | ||
|
@@ -46,6 +44,7 @@ class DjangoField(object): | |
unique = False | ||
primary_key = False | ||
auto_created = False | ||
empty_values = list(validators.EMPTY_VALUES) | ||
|
||
def __init__(self, prop, name): | ||
self.prop = prop | ||
|