Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Django Webix

Version Build https://readthedocs.org/projects/django-webix/badge/?version=latest Codecov Issues Py versions License

Use the Webix JavaScript UI library with Django

Documentation

The full documentation is at https://django-webix.readthedocs.io.

Quickstart

Install Django Webix:

$ pip install django-webix

Add django-webix to your INSTALLED_APPS

INSTALLED_APPS = [
    # ...
    'django_webix',
    # ...
]

Add django-webix URLconf to your project urls.py file

from django.conf.urls import url, include

urlpatterns = [
    # ...
    url(r'^django-webix/', include('django_webix.urls')),
    # ...
]

Add internationalization to TEMPLATES

TEMPLATES = [
    {
        # ...
        'OPTIONS': {
            'context_processors': [
                # ...
                'django.template.context_processors.i18n',
            ],
        },
    },
]

Include webix static files folder in your django staticfiles folder as webix and add static configuration

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)
STATICFILES_DIRS = (
    os.path.join(BASE_DIR, 'staticfiles'),
)
STATIC_URL = '/static/'

Running Tests

Does the code actually work?

$ source <YOURVIRTUALENV>/bin/activate
$ (myenv) $ pip install tox
$ (myenv) $ tox

Contributors

Here is a list of Django-Webix's contributors.

Contributors