A small package to render response of Prochat in Django admin panel.
Project description
Django Prochat
A small package to render response of Prochat in Django admin panel.
How to use?
- Add this app to your list of installed apps.
- in
admin.py
from .models import YourModel
from django_prochat.widgets import ProchatWidget
from django import forms
from django.contrib import admin
class YourModelAdminForm(forms.ModelForm):
class Meta:
model = YourModel
fields = "__all__"
widgets = {
"field_storing_prochat_response": ProchatWidget(),
}
@admin.register(YourModel)
class YourModelAdmin(admin.ModelAdmin):
form = YourModelAdminForm
Note: Field storing prochat response should be a JsonField and response should contain json key.
- Run
python manage.py collectstaticthen start the server.
Sample
TODO
- Improve the UI
- Add live preview
- Parse the raw response and display in human readable format
- Let user decide how they want to store the prochat response
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
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_prochat-1.0.2.tar.gz.
File metadata
- Download URL: django_prochat-1.0.2.tar.gz
- Upload date:
- Size: 138.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66bf5ad6ddbf750520fc8b78a860ece6b1b6551aa38a0b38441982587c05be9a
|
|
| MD5 |
5db803eb440b6e4321b466997c49e506
|
|
| BLAKE2b-256 |
da2ffb4b39d9150b4fd5e24b4f5f32a55ce7e12b46ea3a291db9a28c95219bcc
|
Provenance
The following attestation bundles were made for django_prochat-1.0.2.tar.gz:
Publisher:
publish_to_pypi.yml on anuj66283/django-prochat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_prochat-1.0.2.tar.gz -
Subject digest:
66bf5ad6ddbf750520fc8b78a860ece6b1b6551aa38a0b38441982587c05be9a - Sigstore transparency entry: 954372938
- Sigstore integration time:
-
Permalink:
anuj66283/django-prochat@cedfaa7e48bc7da0632e4e262653b2598aae3f59 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/anuj66283
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@cedfaa7e48bc7da0632e4e262653b2598aae3f59 -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_prochat-1.0.2-py3-none-any.whl.
File metadata
- Download URL: django_prochat-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a82a3720dafac9f000b0902d31a4d05b554c00ef72fcb37857aac7f9500b8ae6
|
|
| MD5 |
675d42c85ca1c923917841322593db95
|
|
| BLAKE2b-256 |
71acb9f46946c2076d74e4bfae99cdff0137debc9df40b2719100a6b6a59a01b
|
Provenance
The following attestation bundles were made for django_prochat-1.0.2-py3-none-any.whl:
Publisher:
publish_to_pypi.yml on anuj66283/django-prochat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_prochat-1.0.2-py3-none-any.whl -
Subject digest:
a82a3720dafac9f000b0902d31a4d05b554c00ef72fcb37857aac7f9500b8ae6 - Sigstore transparency entry: 954372940
- Sigstore integration time:
-
Permalink:
anuj66283/django-prochat@cedfaa7e48bc7da0632e4e262653b2598aae3f59 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/anuj66283
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@cedfaa7e48bc7da0632e4e262653b2598aae3f59 -
Trigger Event:
push
-
Statement type: