djangosnippets.org: Latest snippets posted by NLhttps://djangosnippets.org/users/NL/2008-02-16T05:09:29.770769-06:00NLGenerate newforms-admin admin.py file
2008-02-16T05:09:29.770769-06:00NLhttps://djangosnippets.org/snippets/603/<p>This is a utility script that scans a models.py file and automatically outputs the corresponding newforms-admin source code - the code that goes into the admin.py file. The purpose is to simplify the migration to newforms-admin.</p>
<p>Here is what it outputs:</p>
<ul>
<li>
<p>an import line that lists only the needed classes …</p></li></ul>
Freely redistributable