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.7.tar.gz
.
File metadata
- Download URL: django_semantic_forms-0.1.7.tar.gz
- Upload date:
- Size: 14.1 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 | d87356fa853d4dd5f95f534d69997dd605bd7825e067eae7080088a00939d54d |
|
MD5 | bd1345c3cd56a055cca3823f171f3708 |
|
BLAKE2b-256 | 6fc267d2a521612ba21e2647900e8912ff2cf7971542e29b2351fd6b7d8d5278 |
File details
Details for the file django_semantic_forms-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: django_semantic_forms-0.1.7-py3-none-any.whl
- Upload date:
- Size: 24.6 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 | 8d9f3948a6ad52573881dfd4c8a6409fb25de5d5cbbd5d7c3d5aefc40c931174 |
|
MD5 | 077fbf66273b92d7074f9c8350670432 |
|
BLAKE2b-256 | 14a0eafdce9c5fe9de17f9422c70fcaf720563e13fe4a984f7c6edba3eb28cd6 |