Skip to content

Conversation

GigiusB
Copy link

@GigiusB GigiusB commented Jun 7, 2014

It is for sure not optimal but it's a start....

Usage example in your /admin.py:

class LiteralStatementAdmin(admin.ModelAdmin):
list_display = ('subject', 'predicate', 'object', 'context')
search_fields = ('subject', 'predicate', 'object')
list_filter = ['predicate', 'object', last_part_related_filter('context'), ]

admin.site.register(rdf_models.LiteralStatement, LiteralStatementAdmin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant