Django Semantic UI forms
Project description
Django Semantic UI forms
Django forms with Semantic UI style. Semantic UI forms may be used both with django-semantic-admin, as well as outside the admin.
Why?
- JavaScript datepicker and timepicker components.
- JavaScript selects, including multiple selections, which integrate well with Django autocomplete fields.
- Semantic UI has libraries for React and Vue, in addition to jQuery. This means you can save time by using django-semantic-forms for simple forms, and use React or Vue for more complex use cases.
Install
Install from PyPI:
pip install django-semantic-forms
Add to settings.py
:
INSTALLED_APPS = [
"semantic_forms",
...
]
Please remember to run python manage.py collectstatic
for production deployments.
This package uses Fomantic UI the official community fork of Semantic UI. Please add the Fomantic UI dependencies to your Django template.
For example:
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.js"></script>
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
File details
Details for the file django_semantic_forms-0.1.8.tar.gz
.
File metadata
- Download URL: django_semantic_forms-0.1.8.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.9 Linux/5.15.0-124-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae3a0309a0a9cae74866ba45278d1b3753a914666cea4f16359c5758d3ff204 |
|
MD5 | c335c436f416fba38f2d14ec9bd3d892 |
|
BLAKE2b-256 | 1a49d0c9d1e85e27855d142e2ab87c282b2732eaa3fadaace7d5b07a2133ad8b |
File details
Details for the file django_semantic_forms-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: django_semantic_forms-0.1.8-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.9 Linux/5.15.0-124-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca27410cb8d6dbc3efec00da03a2df8766e3e737caec6b6a8dd5ba132f422d03 |
|
MD5 | 37110a10a9ee017bd820db730724e1ed |
|
BLAKE2b-256 | 0778cf22037909169586e6b957a1e9e8459364803a0d0802acc700a8f6d736c8 |