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:
Roberto Rosario
2018-12-08 01:38:59 -04:00
parent 0c7f9f50af
commit aaea84b386
35 changed files with 1848 additions and 310 deletions

View 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')