The current version of ExtJS distributed with this app is 4.0.7.
Installation
pip install django_extjs4
Setup
Just add 'django.contrib.staticfiles' and 'django_extjs4' to INSTALLED_APPS in your settings.py:
INSTALLED_APPS = (
# ...
'django.contrib.staticfiles',
'extjs4',
# ...
)
Refer to Django static files documentation to configure and deploy static files.
Template context
The extjs4.context_processors.extjs4 template context adds exports the EXTJS4_DEBUG attribute from settings.py to your Django templates. This is useful if you want to be able to test your production ExtJS app on the Django test server, since setting DEBUG to True disables staticfiles. If you add the template context, but do not set EXTJS4_DEBUG in settings.py, it defaults to False.
What parts of ExtJS is included?
The ExtJS sources, except for the examples/ and docs/ directories is included in extjs4/static/extjs4/.
Usage
See django_extjs4_examples.
Requirements:
- Python
- Django
Comments not found