newforms-admin ModelAdmin ignores the js attribute
|Reported by:||sjulean@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When migrating to newforms-admin, it is usually sufficient to move the attribute declarations from the Admin subclass into a new class that inherits from ModelAdmin.
However, for the time being, the latest SVN branch ignores the js attribute, although it internally uses media widgets to achieve that goal, so integration with user-required scripts would be trivial.
My solution was to create a JSModelAdmin class, which inherits from the stock ModelAdmin and implements this feature. However, it would be nice to have support for this feature.