Skip to main content

django-form-admin

Information

https://badge.fury.io/py/django-form-admin.png https://pypip.in/d/django-form-admin/badge.png

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

Requirements

How to use it

Option 1

In your form:

class FooForm(forms.Form, FormAdminDjango):
    pass

class FooModelForm(forms.ModelForm, FormAdminDjango):
    pass

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 }}

Development

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

git clone git://github.com/Yaco-Sistemas/django-form-admin.git

Releases

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

Metadata

Release files for django-form-admin 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-form-admin 0.5.1
File Size Uploaded Provenance Actions
django-form-admin-0.5.1.tar.gz 6.1 kB Without provenance Details for django-form-admin-0.5.1.tar.gz

Release files / django-form-admin-0.5.1.tar.gz

Download URL django-form-admin-0.5.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
328e7c818affff8900a5254d308d67cad40ad609a0358609d28360d6d286bcfe
BLAKE2b-256 checksum
How to use checksums
ee3453cfe1d2800df170b5b26ba8310e7e7f1b788d4b72eaf0c59fa371821c19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-form-admin 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page