#22298: Rename Form Media to Static (or get rid of Form Media completely?)
--------------------------------------+------------------------------------
Reporter: aaugustin | Owner:
Type: Cleanup/optimization | Status: new
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by collinanderson):
James Aylett (on stage at duth)'s solution "that will solve everything"
(he says it came to him at 1:30 in the morning and he hasn't fully thought
through it :):
{{{
{% load assets %}
<html>
<head>
{% asset_tag css %}
{% asset css "site-chrome" %}
{% asset css "article-page" %}
</head>
<body>
<h1>My heading</h1>
{% asset css "search-box" %}
<form action='{% url "search" %}'>
<!-- ... -->
</form>
</body>
</html>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22298#comment:15>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.0ee1f7b840e62f5cdc5f3bc9ce94b363%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.