From f1b0f1fe99ec136a9b3363f1e0acf49a7306d3c8 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 25 Feb 2024 09:28:30 +0900 Subject: [PATCH 1/2] :bookmark: release 0.1.3 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5a1add2..362f699 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "django-semantic-forms" -version = "0.1.2" +version = "0.1.3" description = "Django Semantic UI forms" authors = ["Alex "] readme = "README.md" From 1b2039207c5bdbeb6a3721cbdeca56a0d08a5fe1 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 25 Feb 2024 14:12:39 +0900 Subject: [PATCH 2/2] :memo: update readme --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/README.md b/README.md index 9f031f5..7946848 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,43 @@ 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 complicated 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 use [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: + +``` + + + +```