I have a model that I need to add some custom javascript processing to
its admin form, which is this:

class CategoryAdmin(admin.ModelAdmin):
    radio_fields = {"data_path_ip": admin.HORIZONTAL}
    list_display = ('name', 'event_path', 'data_path', 'file_spec',
'data_path_ip')
    list_filter = ('name', 'event_path', 'data_path', 'file_spec',
'data_path_ip')
admin.site.register(Category, CategoryAdmin)

Where (i.e. in what template) would I put this js code in?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACwCsY6s%3DsV0thFNHBCG%2BsUe87kX_K%3DyZJgYmYpOQr%2BRrm1krg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to