Thanks for the feedback!  Glad to know I'm on the trail of something
that's actually needed :)

I haven't delved in to Django internals enough yet (still really just
getting started with Django) to evaluate what can be done with lower-
level changes.  And while I briefly went down the path of a separate
thread, I wrote it off as too finicky.  I think I'll continue with the
current plan, but look in to ways to making it more efficient (I
imagine I could do some intelligent caching of items that are
'required' all the time).  As it is, there should be zero overhead if
the templatetags aren't used at all.

I've recently added same-server absolute path requirements and am
considering re-working to the SETTINGS dict to be less stupid.
Anything else that would be useful right off the bat?

On Oct 24, 3:30 pm, Sam Lai <samuel....@gmail.com> wrote:
> On 21 October 2010 16:01, Jason Persampieri <helga...@gmail.com> wrote:
>
> >http://github.com/pappy74/django-requires_js_css
>
> > Howdy folks,
>
> > I was hoping to get some feedback on my first public app, django-
> > requires_js_css.  The app's purpose is to allow 'sane' JavaScript and
> > CSS requirements.  That is, require from within templates, but still
> > load using 'best practices'.
>
> Another item off my to-do list. Thanks!
>
> > Definitely a work in progress, although we are using it at our
> > startup.  My questions to you:
> > - Is there another app that does this?
>
> Not that I know of.
>
> > - Do other devs find this worthwhile?
>
> Yep. My use case was to allow the addition of SyntaxHighlighter
> brushes as required by the posts on the page. (This is now moot as of
> the new version of SH, as it will now dynamically load brushes, but I
> can envision other use cases for this.)
>
> > - What's missing?
> > - I currently use a fairly gnarly hack to make this all work
> > (embedding tokens in the response content, then post-processing those
> > tokens using middleware).  Is there a better way?
>
> Other than how it is implemented now, the nicer way is what Doug has
> described. Not sure if it is possible though/might require some Django
> patches.
>
>
>
>
>
>
>
> > _jason
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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