jmbo-generic is a Jmbo generic behavior/templates application.
Installation
1. Install or add jmbo-generic to your Python path.
2. Install django-preferences as described here.
3. Add generic to your INSTALLED_APPS setting.
4. Add generic URL include to your project's urls.py file:
(r'^$', include('generic.urls')),
5. jmbo-generic includes a number of template sets allowing you to deliver lightweight(zero), mobile(basic) or desktop/touch(full) specific output. Specifying which template set to use is simply a matter of specifying a TEMPLATE_TYPE setting, and adding generic.loaders.TypeLoader to the TEMPLATE_LOADERS setting. For example to use the basic template set update your settings as follows:
TEMPLATE_TYPE = "basic"
TEMPLATE_LOADERS = (
...other template loader classes...
'generic.loaders.TypeLoader',
)
This casues templates to be loaded from a path prefixed with whatever value was specified as the TEMPLATE_TYPE setting. For example in this case a template specified as generic/home.html would actually be loaded from basic/generic/home.html.
6. jmbo-generic includes static media resources which you need to configure as described in Django`s managing static files documentation.
What is new in this release:
- Detail view.
- Element preferences.
Requirements:
- Python
Comments not found