https://github.com/globophobe/django-semantic-forms
:pencil: Django Semantic UI forms
https://github.com/globophobe/django-semantic-forms
django forms semantic-ui
Last synced: about 2 months ago
JSON representation
:pencil: Django Semantic UI forms
- Host: GitHub
- URL: https://github.com/globophobe/django-semantic-forms
- Owner: globophobe
- License: mit
- Created: 2024-02-03T02:12:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-24T11:15:20.000Z (over 1 year ago)
- Last Synced: 2024-07-15T09:18:11.958Z (over 1 year ago)
- Topics: django, forms, semantic-ui
- Language: Python
- Homepage: https://semantic-admin.com/forms/
- Size: 78.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-django - django-semantic-forms - Django Semantic UI forms. (Forms)
README
Django Semantic UI forms
------------------------
Django forms with [Semantic UI](https://semantic-ui.com/) style. Semantic UI forms may be used both with [django-semantic-admin](https://github.com/globophobe/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](https://react.semantic-ui.com/) and [Vue](https://semantic-ui-vue.github.io/#/), 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`:
```python
INSTALLED_APPS = [
"semantic_forms",
...
]
```
Please remember to run `python manage.py collectstatic` for production deployments.
This package uses [Fomantic UI](https://fomantic-ui.com/) the official community fork of Semantic UI. Please add the Fomantic UI dependencies to your Django template.
For example:
```html
```