You could use some small <script> tags inside your django template to set global values for your javascript objects from another file to read upon initialization. It may solve your problem. There may be some more sophisticated ways of doing this, but I think this is easy/fast enough. Just be on the lookout for security issues.
If you're just looking to initialize a JS function with some value Django calculated on the server (like the starting point for the slider) I think you'll be ok. - Gabriel -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

