I'm trying to use a simple abstract base class in django's admin 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 doesn't appear in the admin interface.
If I use the same basic structure, but with django.db instead of neo4django.db, it all works fine. Anyone spot where I've gone wrong?
Update from comments:
- This has been tried with django 1.5.5 and 1.5.4
- The neo4django version is from the github repo
- Registering the model with or without a ModelAdmin have both been tried and made no difference