mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Introduce private docs and flatpages preview (#26)
* Add support for private documents * Fix migrations after merge * Rebase fixtures * Filter private decoder docs * Enable preview of unpublished pages
This commit is contained in:
@@ -15,6 +15,7 @@ from metadata.models import (
|
||||
|
||||
@admin.register(Property)
|
||||
class PropertyAdmin(admin.ModelAdmin):
|
||||
list_display = ("name", "private")
|
||||
search_fields = ("name",)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user