django bpmn modeler widget(integrated with properties panel)
Project description
django-bpmn-widget 
django bpmn modeler widget(integrated with properties panel)
Usage
- Install django-bpmn-widget
pip install django-bpmn-widget
- Add
bpmn_widgettosettings.pyINSTALLED_APPS, like this:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'bpmn_widget'
]
- Display in Form
from django import forms
from yourapp.models import MyModel
from bpmn_widget.widgets import BPMNWidget # import widget
class MyModelForm(forms.ModelForm):
class Meta:
model = MyModel
widgets = {
'content': BPMNWidget() # change it to the field you want to display
}
fields = '__all__'
- Display in Django-Admin
from django.contrib import admin
from yourapp.models import MyModel
from yourapp.forms import MyModelForm
class MyModelAdmin(admin.ModelAdmin):
form = MyModelForm
admin.site.register(MyModel, MyModelAdmin)
Note
The following is the js library for widget integration
- bpmn-js@10.2.1
- bpmn-js-properties-panel@1.10.0
- camunda-bpmn-moddle@7.0.1
If you want to update their version or extend other plug-ins, please compile them yourself
Screenshot
Reference
License
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
django-bpmn-widget-1.0.1.tar.gz
(977.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-bpmn-widget-1.0.1.tar.gz.
File metadata
- Download URL: django-bpmn-widget-1.0.1.tar.gz
- Upload date:
- Size: 977.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2eb46d38c92c603c83334447144e8ab8b8e8699a05ba14134003d2a6b9dff64f
|
|
| MD5 |
788fca138457dee5f278717ab55ca261
|
|
| BLAKE2b-256 |
30bfdff26f7c5e1343b691c99e5675fe807c320d3257787e3f8e6deba748c19b
|
File details
Details for the file django_bpmn_widget-1.0.1-py3-none-any.whl.
File metadata
- Download URL: django_bpmn_widget-1.0.1-py3-none-any.whl
- Upload date:
- Size: 988.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f9955bd899aa87da9cf58f9a2d3c35ba3cc49a11a2b112735cdc075b8c41c79
|
|
| MD5 |
9cb8f3ba17681a6c65343b099d0cd8b8
|
|
| BLAKE2b-256 |
ae64fc1eeefb66649a1e5af032334b7304f453af29c512109baeca5384844335
|