mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-17 14:40:27 +00:00
- add app example.files with tests, based on example2. - add check in base update template which checks if form.is_multitype and adds the encoding for it - update gitignore to ignore the uploaded media folder - add test to blog to ensure that the create form is not multipart encoded
10 lines
251 B
Python
10 lines
251 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import division, absolute_import, unicode_literals
|
|
|
|
from django.contrib import admin
|
|
|
|
from .models import CaptionedFile, UncaptionedFile
|
|
|
|
|
|
admin.site.register(CaptionedFile)
|
|
admin.site.register(UncaptionedFile)
|