Using abstract base class in admin django interface with neo4django

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.
+8
django neo4j neo4django
source share
1 answer

Have you tried simply registering a model without ModelAdmin ?

-one
source share

All Articles