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.5.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

django_semantic_forms-0.1.5-py3-none-any.whl (23.6 kB view hashes)

Uploaded Python 3

Supported by

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