Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_semantic_forms-0.1.9.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_semantic_forms-0.1.9-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file django_semantic_forms-0.1.9.tar.gz.

File metadata

  • Download URL: django_semantic_forms-0.1.9.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-106-generic

File hashes

Hashes for django_semantic_forms-0.1.9.tar.gz
Algorithm Hash digest
SHA256 54f278b1d0f6ea85ffe537fd65b9cc4692cd0bea1502e08d8670fd2c07e5ab0f
MD5 56bd4c20bed191c142728f6bcc232986
BLAKE2b-256 85de445069e40ae997874d0580766cf88316178e39fb6a2dc13a6e4a511b2a99

See more details on using hashes here.

File details

Details for the file django_semantic_forms-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for django_semantic_forms-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 543fb5a85c558ad041f974d4d27bb645371c1306aa10dbf0dd963fc270ecf04e
MD5 a43959143cb10af2cfb5b755a2c7d8a2
BLAKE2b-256 048a4239597a7f79c8ffab6f43e216696d4dd9d0fb90ec3768e3ef557f3c225f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page