Skip to main content

django-wildewidgets is a Django design library providing several tools for building full-featured, widget-based web applications with a standard, consistent design, based on Bootstrap.

Project description

     _ _                                     _ _     _               _     _            _       
    | (_)                                   (_) |   | |             (_)   | |          | |      
  __| |_  __ _ _ __   __ _  ___ _____      ___| | __| | _____      ___  __| | __ _  ___| |_ ___ 
 / _` | |/ _` | '_ \ / _` |/ _ \___\ \ /\ / / | |/ _` |/ _ \ \ /\ / / |/ _` |/ _` |/ _ \ __/ __|
| (_| | | (_| | | | | (_| | (_) |   \ V  V /| | | (_| |  __/\ V  V /| | (_| | (_| |  __/ |_\__ \
 \__,_| |\__,_|_| |_|\__, |\___/     \_/\_/ |_|_|\__,_|\___| \_/\_/ |_|\__,_|\__, |\___|\__|___/
     _/ |             __/ |                                                   __/ |             
    |__/             |___/                                                   |___/              

django-wildewidgets is a Django design library providing several tools for building full-featured, widget-based web applications with a standard, consistent design, based on Bootstrap.

The package includes the source to a demo.

Quick start

Install:

pip install django-wildewidgets

If you plan on using Altair charts, run:

pip install altair

Add "wildewidgets" to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...
    'wildewidgets',
]

Include the wildewidgets URLconf in your project urls.py like this:

from wildewidgets import WildewidgetDispatch

urlpatterns = [
    ...
    path('<urlbasepath>/wildewidgets_json', WildewidgetDispatch.as_view(), name='wildewidgets_json'),
]

Add the appropriate resources to your template files.

First, add this to your <head>:

<link rel="stylesheet" href="{% static 'wildewidgets/css/wildewidgets.css' %}"> 

For ChartJS (regular business type charts), add the corresponding javascript file:

<script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.4/dist/Chart.min.js"></script> 

For Altair (scientific charts), use:

<script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@4"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>  

For DataTables, use:

<script src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment.min.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.10.21/sorting/datetime-moment.js"></script>

and:

<link href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css" rel="stylesheet" />

and, if using Tabler, include:

<link rel="stylesheet" href="{% static 'css/table_extra.css' %}"> 

For ApexCharts, use:

<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>

If you plan on using CodeWidget, you'll need to include the following to get syntax highlighting:

<link rel="stylesheet" href="{% static 'css/highlighting.css' %}"> 

Documentation

django-wildewidgets.readthedocs.io is the full reference for django-wildewidgets.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

django-wildewidgets-0.15.1.tar.gz (101.8 kB view details)

Uploaded Source

Built Distribution

django_wildewidgets-0.15.1-py2.py3-none-any.whl (131.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-wildewidgets-0.15.1.tar.gz.

File metadata

  • Download URL: django-wildewidgets-0.15.1.tar.gz
  • Upload date:
  • Size: 101.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.8.5

File hashes

Hashes for django-wildewidgets-0.15.1.tar.gz
Algorithm Hash digest
SHA256 b0eecb02345dcd7f9b2c4830d1dcef980f4c288558cf0a3198dbb000cbcf9a24
MD5 8e68bc33b12d15171d13baa34e7c8060
BLAKE2b-256 bb6f7d0dd85bef8dbf21083f8ac29feb10eecd7fa8c11efe12907f4e1479b258

See more details on using hashes here.

File details

Details for the file django_wildewidgets-0.15.1-py2.py3-none-any.whl.

File metadata

  • Download URL: django_wildewidgets-0.15.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 131.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.8.5

File hashes

Hashes for django_wildewidgets-0.15.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 de8ea3f7e264ef0130a97b288e6dfaaa15c22ca51570d813d626fe01768073f9
MD5 e4086e1d0dd5226ab5b2286682ee645d
BLAKE2b-256 3a7c8d0be5d1cb51d89237049d31360b8b14d14484a488609bd5132eedb06e6b

See more details on using hashes here.

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