github.com
Add recurring dates in your project with django-recurrence:
Utility for working with recurring dates in Django. - jazzband/django-recurrence
Rebeca Sarai
The links, tools and tips our engineers and designers share with each other, one “today I learned” at a time.








github.com
Utility for working with recurring dates in Django. - jazzband/django-recurrence
Rebeca Sarai
Tech Insights· github.com
From github.com
Utility for working with recurring dates in Django. - jazzband/django-recurrence
Shared by
forum.djangoproject.com
On Django, be careful when doing consecutive queryset.update()s. Each one executes a new UPDATE ... WHERE SQL query. There are cases where the second update might not change anything because the first one changed the rows already. Always check the original queryset filters/excludes to see if they are affected by the updates.
Flávio Juvenal
Tech Insights· forum.djangoproject.com
On Django, be careful when doing consecutive queryset.update()s. Each one executes a new UPDATE ... WHERE SQL query. There are cases where the second update might not change anything because the first one changed the rows already. Always check the original queryset filters/excludes to see if they are affected by the updates.
Shared by
github.com
JS_CACHE_DURATION setting! It defaults to 24 hours. This means your updates on URLs will b...Using django.js? Be careful with JS_CACHE_DURATION setting! It defaults to 24 hours. This means your updates on URLs will be delayed on 1 day to the frontend! We recommend setting JS_CACHE_DURATION to 0. Even better, use instead.
Flávio Juvenal
Tech Insights· github.com
JS_CACHE_DURATION setting! It defaults to 24 hours. This means your updates on URLs will b...Using django.js? Be careful with JS_CACHE_DURATION setting! It defaults to 24 hours. This means your updates on URLs will be delayed on 1 day to the frontend! We recommend setting JS_CACHE_DURATION to 0. Even better, use instead.
Shared by
Tech Insights· github.com
Shared by
The original link on github.com is no longer available.
Look for it on the Wayback Machinegithub.com
:love_letter: Add webhook subscriptions to your Django app. - zapier/django-rest-hooks
Flávio Juvenal
Tech Insights· github.com
From github.com
:love_letter: Add webhook subscriptions to your Django app. - zapier/django-rest-hooks
Shared by
github.com
A django app to apply filters on drf querysets using query params with validations using voluptuous. - manjitkumar/drf-url-filters
Flávio Juvenal
Tech Insights· github.com
From github.com
A django app to apply filters on drf querysets using query params with validations using voluptuous. - manjitkumar/drf-url-filters
Shared by
Tech Insights· github.com
Shared by
Tech Insights
user.is_anonymous in templates. If for some reason the user is not set it will evaluate to False and this could expose sensitive content. Use not is_authenticated instead.Shared by
Tech Insights· youtube.com
Shared by
Tech Insights
Shared by
gist.github.com
Tests with email sending speed boost. GitHub Gist: instantly share code, notes, and snippets.
André Ericson
Tech Insights· gist.github.com
From gist.github.com
Tests with email sending speed boost. GitHub Gist: instantly share code, notes, and snippets.
Shared by
Today I learned
<select> in Django Admin with all the related instances (ForeignKey or ManyToMany)...Avoid the overhead of having the default <select> in Django Admin with all the related instances (ForeignKey or ManyToMany) just listing them in ModelAdmin.raw_id_fields. I've just done it and my admin change pages are being loaded up to 10x faster, avoiding a lot of request timed out error.
Victor Carriço
Tech Insights
<select> in Django Admin with all the related instances (ForeignKey or ManyToMany)...Avoid the overhead of having the default <select> in Django Admin with all the related instances (ForeignKey or ManyToMany) just listing them in ModelAdmin.raw_id_fields. I've just done it and my admin change pages are being loaded up to 10x faster, avoiding a lot of request timed out error.
Shared by
code.djangoproject.com
<meta name="referrer">! Yes, a HTML tag can break Django CSRF protection: ...Using Django? Be careful with custom values for <meta name="referrer">! Yes, a HTML tag can break Django CSRF protection: (PS: note old browsers might misbehave with new <meta name="referrer"> values too! Better avoid it.)
Flávio Juvenal
Tech Insights· code.djangoproject.com
<meta name="referrer">! Yes, a HTML tag can break Django CSRF protection: ...Using Django? Be careful with custom values for <meta name="referrer">! Yes, a HTML tag can break Django CSRF protection: (PS: note old browsers might misbehave with new <meta name="referrer"> values too! Better avoid it.)
Shared by
Today I learned
André Ericson
Tech Insights
Shared by
Tech Insights
python manage.py ping_google[/sitemap.xml] to let it know to reindex your siteShared by
Book a call
Tell us about your product and the problem in front of you. We’ll bring what we’ve learned on real projects.
Tell us about your product, and we’ll bring what we’ve learned.
Still prefer the good old email? Contact us



