Files
mayan-edms/mayan/apps/file_caching/admin.py
Roberto Rosario aaea84b386 Caching: Turn the new caching into its own app
Extract the new smart file caching code from the common app
and convert it into its own new app called file_caching.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
2018-12-08 01:38:59 -04:00

11 lines
240 B
Python

from __future__ import unicode_literals
from django.contrib import admin
from .models import Cache
@admin.register(Cache)
class CacheAdmin(admin.ModelAdmin):
list_display = ('name', 'label', 'storage_instance_path', 'maximum_size')