From 109460c24bdb9c4b8bc2c6e6c564db0d9a11ab32 Mon Sep 17 00:00:00 2001 From: winkidney Date: Wed, 20 Mar 2019 18:07:28 +0800 Subject: [PATCH] Feature: Add Image and Thumbnail to django-admin --- django_images/admin.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 django_images/admin.py diff --git a/django_images/admin.py b/django_images/admin.py new file mode 100644 index 0000000..c0a88c8 --- /dev/null +++ b/django_images/admin.py @@ -0,0 +1,8 @@ +from django.contrib import admin + +from .models import Image +from .models import Thumbnail + + +admin.site.register(Image) +admin.site.register(Thumbnail)