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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file django_dynaform-0.1.2.tar.gz.

File metadata

  • Download URL: django_dynaform-0.1.2.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for django_dynaform-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2b544ba6ce043bcf79ef6f0898c69164a6e81837e58219577bf7eab6996ad9c3
MD5 f98a221330621c1d4b5ae34478d35e02
BLAKE2b-256 ef72d084dfde740d0e9806a3496d5bd801888d3c4bb3eceb1680ba0c5f1259c3

See more details on using hashes here.

File details

Details for the file django_dynaform-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_dynaform-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 324658883de2933c71ff94a02f01ef26513724483517e7cd60221b49334040ea
MD5 5e48d676f28276c7e07ad034252e4063
BLAKE2b-256 feb77133d73a4d1962256449b0cdfcef04bab60871ef737926a1c3f13c3fbf59

See more details on using hashes here.

Supported by

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