Skip to main content

Abstract class implemented to provide form django admin like

Project description

Django form admin

Information

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

How to use it

In your form:

class FooForm(forms.Form, FormAdminDjango):
    pass

class FooModelForm(forms.ModelForm, FormAdminDjango):
    pass

In your template:

{{ form.as_django_admin }}

Or Now (version >= 3.1.2) you don’t need inherit of FormAdminDjango

class FooForm(forms.Form):
    ...

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

Development

You can get the last bleeding edge version of autoreports by doing a checkout of its subversion repository:

svn co http://svnpub.yaco.es/djangoapps/formadmin/trunk/formadmin

Project details


Download files

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

Files for django-form-admin, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size django-form-admin-0.3.2.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

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