python - Is there a statics finder for django that will find statics in eggs? -
i know there no finder built django (at least not in 1.3) wondering if out there has made 1 yet before make attempt @ it.
basically looking statics finder in apps installed egg file contains static dir in egg.
i have looked @ code django.contrib.staticfiles.finders.appdirectoriesfinder , unfortunately in django 1.3 version of thing checked subdirectories of installed app location, not subdirectories in eggs.
update: since there no replies yet take "no". :) if time may put 1 myself doesn't there interest. don't know if appropriate or not if happen interested in statics finder eggs, maybe leave comment.
it's little hackish let me use staticfiles_dirs , filesystemfinder.
def inplaceeditform_path(): import inplaceeditform return os.path.abspath(os.path.join(os.path.dirname(inplaceeditform.__file__),'media')) staticfiles_dirs = ( ('site/inplaceeditform' ,inplaceeditform_path()), )
Comments
Post a Comment