Hi,

I am using inline fromsets in my own custom forms and would like to
reuse the same functionality that is provided django admin's
inlines.js, particularly the add row button functionality, in order to
add rows to my own inline formsets, similarly as is done in django's
admin.  What is the proper way to reference these files?

Should I copy the files into my own static directory, or should i just
include {{STATIC_URL}}/admin/js/inlines.min.js in my template.  Or
something else?

Seems like i've seen it recommended either way.  is either way the
correct way of doing it?

Ben

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to