0.5: Django 3.2 support, drop Django<1.11, Python<3.6, remove some compatibility...
[fnpdjango.git] / tests / admin.py
1 from django.contrib import admin
2 from . import models
3 from fnpdjango import actions
4
5
6 class SomeModelAdmin(admin.ModelAdmin):
7     actions = [
8         actions.export_as_csv_action("CSV")
9     ]
10
11
12 admin.site.register(models.SomeModel, SomeModelAdmin)
13