Kotti / deform_bootstrap

Bootstrap compatible templates for the deform form library. (Merged into deform 2.)
http://pypi.python.org/pypi/deform_bootstrap
34 stars 30 forks source link

fix resource registry #56

Closed dholth closed 11 years ago

dholth commented 11 years ago

Before:

In [8]: deform.widget.default_resource_registry.registry

...

 'chosen': {None: {'css': (('jquery_chosen/chosen.css',
     'chosen_bootstrap.css'),),
   'js': (('jquery_chosen/chosen.jquery.js',),)}},

After:

 'chosen': {None: {'css': ('jquery_chosen/chosen.css', 'chosen_bootstrap.css'),
   'js': ('jquery_chosen/chosen.jquery.js',)}},