On Mon, Feb 25, 2019 at 10:39 PM Jamesie Pic wrote:
> component = dict(
> template_name='django/forms/widgets/textarea.html',
> script='your/textarea.js',
> style='your/style.css'
> )
Actually do NOT try this, for static i think the more efficient
refactor would be to enable widgets a
I have a small PR here to remove the “watchman unavailable” message, whilst
keeping the one that specifies which reloader we are using:
https://github.com/django/django/pull/11025.
On 21 February 2019 at 20:52:29, Claude Paroz (cla...@2xlibre.net) wrote:
Le jeudi 21 février 2019 21:43:43 UTC+1
Also in Django maybe try to change things like:
class Textarea(Widget):
template_name = 'django/forms/widgets/textarea.html'
With
component = dict(
template_name='django/forms/widgets/textarea.html',
script='your/textarea.js',
style='your/style.css'
)
Or something component='you
There are a cluster of issues that I find difficult to resolve as a user,
and as a Django developer, I think there is potential to make them easier
through features in Django itself. I'm interested in hearing better
work-arounds than I use now, but I'm more interested in helping clarify how
th
Hi Tobias,
I think a cache of something like a day will most certainly not hurt
anyone. If the need arises we can still manually purge the cache as needed.
Cheers,
Florian
On Sunday, February 24, 2019 at 1:00:50 AM UTC+1, Tobias McNulty wrote:
>
> Hi all,
>
> An implementation question has come
Hi Collin,
it is not (just) about links, it is mainly about stylesheets/js. But we can
set a header on that view:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
This should work for every browser != IE/Edge.
Cheers,
Florian
On Friday, February 22, 2019 at 9:35:53 PM
django signal are work like database trigger.
On Sun, Feb 24, 2019 at 12:35 PM Mike Brown wrote:
> I think this is a request for a signal that fires after those attributes
>> have been added to the model instances.
>>
>
> Yes.
>
>
> On Saturday, February 23, 2019 at 12:08:43 PM UTC-8, Mike Brow