rykener / django-manifest-loader

Simplifies webpack configuration with Django
https://django-manifest-loader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
104 stars 12 forks source link

Provide a manifest function to be used outside of templates #28

Closed jkevingutierrez closed 3 years ago

jkevingutierrez commented 3 years ago

It would be good to have a function manifest that could be used outside of the templates (in python files). Something similar to the Django static function: https://github.com/django/django/blob/master/django/templatetags/static.py#L162

jkevingutierrez commented 3 years ago

Hi @shonin Thanks for your work on this! I just saw the waiting release label. Is there anything that you need help with to publish a new version?

rykener commented 3 years ago

Hi @jkevingutierrez this change introduces some restructuring of the API, which means I'll need to do a major version bump. I've been sitting on it so that I can see if there's anything else I want to change before publication. I have one change on my local machine I need to push up and then I'll get v1.0.0 published tonight

rykener commented 3 years ago

@jkevingutierrez sorry for the delay. v1 has been published this morning. Documentation here: https://django-manifest-loader.readthedocs.io/en/stable/docs/usage.html#use-outside-of-templates