Skip to main content

Django’s default ModelAdmin is kinda dull. It only displays the __unicode__ column and that’s it. SmartAdmin attempts to create some more useful defaults for list_display, list_filter, etc., based on the model. (You can still manually specify whatever you want of course.)

This may be useful to you if you create new models often and want to have a usable admin for them without much work.

Installation

pip install django-smartadmin

Usage

Just use smartadmin.SmartAdmin instead of django.contrib.admin.ModelAdmin:

from smartadmin import SmartAdmin

class MyModelAdmin(SmartAdmin):
    pass  # or override something

admin.site.register(MyModel, MyModelAdmin)

# or just:

admin.site.register(MyModel, SmartAdmin)

Metadata

Release files for django-smartadmin 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-smartadmin 0.0.5
File Size Uploaded
django-smartadmin-0.0.5.tar.gz 3.2 kB Details

Release files / django-smartadmin-0.0.5.tar.gz

Download URL django-smartadmin-0.0.5.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a1841bba1353d0d72d11a6cf2ca83423f6d641c9fde0165d50366e95b4bf14da
BLAKE2b-256 checksum
How to use checksums
87b6a7e85b8ce5e07346bf06d9b6d21973abe7bba2ce3dbe3dcd1125f3bc4b81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page