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>
This commit is contained in:
10
mayan/apps/file_caching/admin.py
Normal file
10
mayan/apps/file_caching/admin.py
Normal file
@@ -0,0 +1,10 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user