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.

Source Distribution

django-form-admin-0.3.2.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file django-form-admin-0.3.2.tar.gz.

File metadata

File hashes

Hashes for django-form-admin-0.3.2.tar.gz
Algorithm Hash digest
SHA256 32ed8bc70285286dfc9212741c21159b80a8907971563399c2ae0e61db74b611
MD5 967337d97c54d076dcef5fe35a20b51c
BLAKE2b-256 bb99f905202d974f464db90b6c5b9e789310c9c7dfdfdb901cd8b4e7151fccd5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page