Dynamic form for Django
Project description
django-dynaform
Dynamic form for Django framework
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_dynaform-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 324658883de2933c71ff94a02f01ef26513724483517e7cd60221b49334040ea |
|
MD5 | 5e48d676f28276c7e07ad034252e4063 |
|
BLAKE2b-256 | feb77133d73a4d1962256449b0cdfcef04bab60871ef737926a1c3f13c3fbf59 |