Hi Everyone,

We were tasked at work some time ago with tidying up a legacy Django 
project. Part of the projects JS relied heavily on Django variables and 
settings and we were seeing frequent large variable JSON dumps in the 
templates.

We cleaned this up and ended up designing a small package which allowed us 
to generate Javascript files through the Django templating engine when 
requested by the client.

Since then we've started finding ourselves thinking about using this 
package more and more.

So I was wondering, is this something that the community would be 
interested in? It's not open source yet but we're considering opening up 
the particular package (not least so its more available for us).

If it's not at all of interest, why? Is there a big disadvantage to 
generating Javascript through the templating engine? (assume you, and not 
the client, control the variables going in.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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 https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/04d4d42d-3bfa-47c6-9ac7-e9d801de9286%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to