I am trying to use a simple abstract base class in the admin django interface with neo4django.
Example models.py
from neo4django.db import models class Parent(models.NodeModel): name = models.StringProperty() class Meta: abstract = True class Child(Parent): pass
Example admin.py:
from neo4django import admin from core.models import Child class ChildAdmin(admin.ModelAdmin): pass admin.site.register(Child, ChildAdmin)
The name field is not displayed in the admin interface.
If I use the same basic structure, but with django.db instead of neo4django.db, everything works fine. Anyone where I made a mistake?
Update from comments:
- This has been tested with django 1.5.5 and 1.5.4
- Neo4django version from github repository
- Registering a model with or without ModelAdmin was verified and did not matter.
django neo4j neo4django
Owen
source share