Lessons we’ve learned on real projects (page 225)
The links, tools and tips our engineers and designers share with each other, one “today I learned” at a time.
- lessons shared
- 3,447
- people sharing
- 86
- database started in
- 2016








Tech Insights
Avoid using
user.is_anonymousin templates. If for some reason the user is not set it will evaluate to False and this could expose sensitive content. Usenot is_authenticatedinstead.Shared by
- Django

search.google.com
Don't you know how to validate your microdata schemas? Use this website
Use the Rich Result Test to see what Google results can be generated for your pages and the schema markup validator for generic schema validation.
Anderson Resende

Tech Insights· search.google.com
Don't you know how to validate your microdata schemas? Use this website
From search.google.com
Use the Rich Result Test to see what Google results can be generated for your pages and the schema markup validator for generic schema validation.
Shared by
Read on search.google.com- Schema
- Web




Tech Insights· youtube.com
Talk about metrics on Djangocon US:
Shared by
Read on youtube.com- Django
- Metrics
Tech Insights
When you wrapp a #React component with #Redux you will lose the reference to it. Use
getWrappedInstanceto get it backShared by
- JavaScript
- React
- Redux
Tech Insights
You can use django.core.mail.outbox when testing your mail in django. This way, you can check the content of your emails.
Shared by
- Django

uxcellence.com
Great source of UX books:
A growing collection of books for UX practitioners of every flavor
Lais Varejão

Tech Insights· uxcellence.com
Great source of UX books:
From uxcellence.com
A growing collection of books for UX practitioners of every flavor
Shared by
Read on uxcellence.com- Design
- UX

git-awards.com
we are in the top10 on github awards for Python in Brazil! alongside @rochacbruno @avelino0
SERP builds everyday software: Keybumps for Mac, Zenbu Japanese for iPhone, and free tools, games, and checklists for everyone.
Rob Novelino

Tech Insights· git-awards.com
we are in the top10 on github awards for Python in Brazil! alongside @rochacbruno @avelino0
From git-awards.com
SERP builds everyday software: Keybumps for Mac, Zenbu Japanese for iPhone, and free tools, games, and checklists for everyone.
Shared by
Read on git-awards.com- Python

gist.github.com
This gist can greatly improve speed of tests that sends email in Django.
Tests with email sending speed boost. GitHub Gist: instantly share code, notes, and snippets.
André Ericson

Tech Insights· gist.github.com
This gist can greatly improve speed of tests that sends email in Django.
From gist.github.com
Tests with email sending speed boost. GitHub Gist: instantly share code, notes, and snippets.
Shared by
Read on gist.github.com- Django
Today I learned
Avoid the overhead of having the default
<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
Avoid the overhead of having the default
<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 inModelAdmin.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
- Django
- Optimization
- Link offlineLink offline
Tech Insights· blog.willj.net
AWS IAM policy for allowing s3cmd to sync to an S3 bucket:
Shared by
The original link on blog.willj.net is no longer available.
Look for it on the Wayback Machine- Amazon
- AWS
- S3

kellysutton.com
Interesting post about GraphQL. It covers some interesting uses for it and downsides: "Do We Need GraphQL?"
Retrieving sprawling data graphs is one of the critical issues when building a robust web application. There’s a careful balance among number of responses, response times, and payload sizes. Should fetching a blog post and 10 comments from an API take:
Filipe Ximenes

Tech Insights· kellysutton.com
Interesting post about GraphQL. It covers some interesting uses for it and downsides: "Do We Need GraphQL?"
From kellysutton.com
Retrieving sprawling data graphs is one of the critical issues when building a robust web application. There’s a careful balance among number of responses, response times, and payload sizes. Should fetching a blog post and 10 comments from an API take:
Shared by
Read on kellysutton.com- API
- Rest

code.djangoproject.com
Using Django? Be careful with custom values for
<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
Using Django? Be careful with custom values for
<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
Read on code.djangoproject.com- Django
- HTML

lucumr.pocoo.org
Be careful with Python's New-Style String Format
Some general warnings about the use of str.format in Python.
Filipe Ximenes

Tech Insights· lucumr.pocoo.org
Be careful with Python's New-Style String Format
From lucumr.pocoo.org
Some general warnings about the use of str.format in Python.
Shared by
Read on lucumr.pocoo.org- Python

smashingmagazine.com
Local Storage And How To Use It On Websites
Storing information locally on a user's computer is a powerful strategy for a developer who is creating something for the Web. In this article, we'll look at how easy it is to store information on a computer to read later and explain what you can use that for.
Felipe Farias

Tech Insights· smashingmagazine.com
Local Storage And How To Use It On Websites
From smashingmagazine.com
Storing information locally on a user's computer is a powerful strategy for a developer who is creating something for the Web. In this article, we'll look at how easy it is to store information on a computer to read later and explain what you can use that for.
Shared by
Read on smashingmagazine.com- JavaScript
Book a call
Found it useful?
Let’s put it to work.
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



