If you used the "as var" syntax: {% static "myapp/css/base.css" as admin_base_css %}, then you could write a custom template filter that removes the version suffix and then apply it to that variable.
On Sunday, October 11, 2015 at 11:28:10 AM UTC-7, Dheerendra Rathor wrote: > > Hello all, > > I want to retrieve static file url without version number for a specific > static file url while using staticfiles app. > > Is there any way to achieve this with {% static %} tag? > -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/046e871f-8d17-4d05-9529-11ef95f0dc4d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.