I covered the basics in one of my articles on Video generation with Python, and today I want to write about different ways to assemble text on the image so it does not look too bland.Read More »
A bad solution (with Pillow) and a good solution (with OpenCV).
- Bad Solution
- Good Solution
- Plans for this series
At this point I feel like the most badass devops in my village.
- Creating AWS Lightsail Instance
- Setting Up AWS Lighsail Instance
- Static IP
- Setting Up MongoDB
- Basic Authentication
As far as I understood this is a collaboratory project, and it is currently maintained by Wagner De Lima.
You can find very useful materials here and there, but the purpose behind this tutorial is to help set up social authentication for your DRF-based API by following clear and easy steps. So that nobody suffers from the lack of base knowledge or the lack of time – been there, done that.
Table of contents:
1. Registering an app in Facebook and Google developer’s panels
2. Getting User Access Token from Facebook/Google
3. Installing drf-social-oauth2
4. Creating a local app
5. Converting Token from Facebook/Google into a DRF Access token
6. Accessing things with this new Token
7. Refreshing Access Token
8. Changing Access Token Expiration
I came to peace with methodically reading the documentation, but you might’ve not. I’ll do it for you. I want it all to work and I only want to write it down once. Buckle up.
Part 1 is about Installation and Facebook Login. Check out the whole series Django-allauth.
Other parts will be about profiles and all kinds of forms and user interractions.Read More »
Should I use a ‘through’ table for my Model to Model relation? It was never a question for me two years ago.Read More »
This is a part two, that is basically a Managing Children block, because it turned out too big to fit.Read More »
Just a collection of things I believe are worth noticing. It escalated quickly.
I spend a week updating this post and every other morning was a torture – I tried making fantasy methods that were so absurd I couldn’t grasp on what the heck I was thinking 12 hours ago.Read More »
migrate and yet Django dares to throw an error? Incomparable betrayal! Let’s look through several cases.
For ages encountering migrations errors, I have been wipin the entire database and migrations files. Until one day an error occurred at a production server. There was no other option but to calm down and learn how to fix it.Read More »