Skip to main content

Dynamic form for Django

Project description

django-dynaform

Dynamic form for Django framework

PyPI

Overview

Dynamic Django forms allow users to define, edit, and populate their own entities and apply runtime schema changes to them. django-dynaform is a unique tools to empower your project with more dynamicity with minimum database changes. It is ideal and unique tools for frequently changing and/or temporary data structures. It is the goal of this project to provide a bring dynamicity with maximum benefit to a project with less effort.

This package provides models to help admin users quickly add/change/drop dynamic models for their specific use case, and use them in dynamic templates. The schema changes are applied in the runtime, without database metadata changes, so it could use in dynamic templates with zero downtime and any side effects of changing in data structure.

Disclaimer:

It is not recommended to use this project for business critical data due to the high potential for data loss. Tables can be dropped very easily, and without backups, even a small user error could be catastrophic.

Example project

You can download an example project from https://github.com/loghmanb/django-dynaform/tree/main/example go to the folder and run below commands

$ pip install -r requirements.txt
$ python manage.py migrate
$ python manage.py loaddata sample-data.json.gz
$ python manage.py runserver 0:8000

Now just browse http://127.0.0.1:8000 You can access admin pannel by username: admin password: admin

Documentation

See the wiki for documentation.

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_dynaform-0.1.2.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

django_dynaform-0.1.2-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

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