Pass django model elemts to javascript file -


is possible pass model elements directly java script file? making custom plugin , plugin in plugins folder. have completed need pass list of model objects it. have few ideas on how hack elements in via template file id prefer if there function call directly within java script file load elements. insight appreciated.

in case should use ajax , request models server. alternative serve javascript file django , populate template


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -