Comments (4)
Ah crap, that's basically the same problem Flask-Assets currently has.
It would certainly be possible to loop through the finder storages, find the right one based on it's base path, and thus calculate it's relative url. But it's a bit unfortunate, since the information is right there when the globbing happens, it just isn't kept. Maybe an update to the Resolver API is called for.
from django-assets.
I'd love to see this fixed.
from django-assets.
For those who want to use globs during development, I've found that django-pipeline offers much of the same functionality as django-assets.
from django-assets.
#8 fixes this by the way (not using Resolver APIs though).
from django-assets.
Related Issues (20)
- Django 4.1 TestLoader failures
- "assets build" fails in Django 4.1
- TypeError: requires_system_checks must be a list or tuple.
- Using django_assets with staticfiles
- ImportError cannot import name app_template_dirs in Django 1.8.x
- Getting more done in GitHub with ZenHub
- Usage of watch command HOT 1
- Change name of pytest plugin to something other than "name_of_plugin"
- management commands need updating for Django 1.10 HOT 1
- Use closure to generate .js.map
- Does not work with Jinja2 out of the box HOT 1
- Invalid link to Jinja2 tag documentation
- ASSETS_DEBUG should fallback to Django DEBUG by default HOT 2
- Django 1.10 support HOT 2
- Automatic rebuild on `./manage.py runserver` HOT 5
- Cannot find version of gen/packed.%(version)s.js HOT 2
- New package version based on the current master HOT 1
- pytest plugin runs implicitly when django-assets installed HOT 2
- Django 3.0.1 support HOT 1
- DeprecationWarning: invalid escape sequence \Z
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-assets.