Skip to main content

django-batchform

This project aims to provide a simple yet powerful way to fill a batch of forms from a single uploaded file (CSV, xlsx, …).

It uses Django class-based generic views to that effect, allowing for a very simple configuration:

from django import forms
from batchform import views

class LineForm(forms.Form):
    col1 = forms.CharField(max_length=10)
    col2 = forms.CharField(max_length=10)
    col3 = forms.CharField(max_length=10)

class BatchFormView(views.BaseUploadView):
    lines_form_class = LineForm
    columns = ('col1', 'col2', 'col3')

Demo

In order to have a look at the application, simply clone the repository, ensure you have Django in your repository, and run:

./manage.py runserver

Metadata

Release files for django-batchform 0.3.0

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-batchform 0.3.0
File Size Uploaded
django-batchform-0.3.0.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-batchform 0.3.0
File Interpreter ABI Platform
django_batchform-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / django-batchform-0.3.0.tar.gz

Download URL django-batchform-0.3.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
43a7a2086190661357e5b456dd72081785c8495892f838b32c850aaa12ed59f3
BLAKE2b-256 checksum
How to use checksums
7bb018cf103fb2f3e40b3520a9ddf182a214080c3417d1828c1894cb7d81d3d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_batchform-0.3.0-py3-none-any.whl

Download URL django_batchform-0.3.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
701a16e25f8e193916ba0ab485310d7c2ae648bb3597a69142b051d12780b972
BLAKE2b-256 checksum
How to use checksums
a8b2faed560921f3bebde55a7d647ad2db80c9bde38cd02e2227e846d696ff8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

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