djangosnippets.org: Latest snippets tagged with 'generate'https://djangosnippets.org/tags/generate/2012-12-11T11:37:04.079768-06:00Automatically generate admin
2012-12-11T11:37:04.079768-06:00WoLpHhttps://djangosnippets.org/snippets/2862/<p>A management command to automatically generate a fully specified admin for the models in a specific app.</p>
<p>It automatically generates raw_id_fields, search_fields, list_filter and more. It bases this on date fields, fields named as "name" or slug.</p>
<p>Usage: ./manage admin_autogen <model></p>
Freely redistributable