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.9.4/dist/semantic.min.css" integrity="sha384-b5SW2bA5CBv/WeySOaDac2n4fnB+yd1vfmnWhES5vUjF4ZGsxsNt6sUsq75J1gOa" crossorigin="anonymous" referrerpolicy="no-referrer">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.4/dist/semantic.min.js" integrity="sha384-7q6zpNgldX13QoAOADSjVDfLYLoyGIFtXsqNEH+GbudZMHYj4WkexEnJsuNh/0Ph" crossorigin="anonymous" referrerpolicy="no-referrer"></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.14.tar.gz (52.9 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.14-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_semantic_forms-0.1.14.tar.gz
  • Upload date:
  • Size: 52.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for django_semantic_forms-0.1.14.tar.gz
Algorithm Hash digest
SHA256 1fc83b967d9ff8d5534e7fe772c3e1cbbc8bc2ee7bf6d72392a82204c4a96ab0
MD5 f4a1a73bf73d7ed074721e5fd7c5da6e
BLAKE2b-256 21754d47a1a747b7070fb830e7471fb25f281fec5fe5e3c26f73625ce504eee8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_semantic_forms-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for django_semantic_forms-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7491dc46e0bc92bc9141af1233a426c951d970e44cd7acf057f2e66ce2a7fb09
MD5 73a49ab9b4d35eba7fc685650cec6697
BLAKE2b-256 c47d60d553f535a0ad18c6d678c21967f6fa313aae51318a744d4c18f5728889

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