Skip to main content

Abstract class implemented to provide form django admin like

Project description

<nav class="contents" id="contents" role="doc-toc">





It is a Django application that lets to render forms like django admin, with the same HTML


How to use it

Option 1

In your form:

class FooForm(forms.Form, FormAdminDjango):

class FooModelForm(forms.ModelForm, FormAdminDjango):

In your template:

{{ form.as_django_admin }}

Option 2

But you don’t need inherit of FormAdminDjango, you may also do

In your form:

class FooForm(forms.Form):

    def as_django_admin(self):
        from formadmin.forms import as_django_admin
        return as_django_admin(self)

In your template:

{{ form.as_django_admin }}

Option 3

Or even without modify the form

Only in your template:

{% load formadmin_filters %}
{{ form|as_django_admin }}


You can get the bleeding edge version of django-form-admin by doing a clone of its git repository:

git clone git://


0.5.1 (2018-03-05)

  • Fix previous version (Django support > 1.8)

0.5.0 (2018-03-05)

  • Django support > 1.8 (1.9 - 1.11)

  • Improve readme file

  • Thanks to:

0.4.2 (2013-10-28)

  • Fix an error when to install this egg from pypi

0.4.1 (2013-10-04)

  • Improvements in the example project

0.4.0 (2013-09-12)

  • New way to render the form (filter)

  • Update metainfo

  • Example project

0.3.2 (2011-12-03)

  • Subversion version

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-form-admin-0.5.1.tar.gz (6.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page