Re: Extend FAQ with "How do I get Django and my JS framework to work together?"

2019-02-25 Thread Jamesie Pic
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

Re: Django 2.2 and the watchman reloader

2019-02-25 Thread Tom Forbes
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

Re: Extend FAQ with "How do I get Django and my JS framework to work together?"

2019-02-25 Thread Jamesie Pic
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

Test database, --keepdb parameter, and migrations

2019-02-25 Thread Dan Davis
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

Re: Use CDN for djangoproject.com

2019-02-25 Thread Florian Apolloner
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

Re: Password reset emails in combination with click tracking do not work with Intelligent Tracking Prevention on Safari for iOS 12 and macOS Mojave

2019-02-25 Thread Florian Apolloner
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

Re: Signals - Need a signal after annotations are added

2019-02-25 Thread samarth parashari
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