venkatesh.hashnode.devCustom SQL In Django MigrationIn my project, one use case came with custom SQL migration. Step1: Create the empty migration python manage.py makemigrations <project_name> --empty -n <relevant message> # python manage.py makemigrations app --empty -n creating_users Step 2: Open c...Sep 10, 2023·1 min read
venkatesh.hashnode.devGoogle SSO Integration with DjangoHi , Nowadays Instead of custom authentication everybody is using the SSO . Instead of maintaining the passwords and user information we are depending on the trusted companies like Google , OKTA... etc. In the same way I migrated project to remove th...May 9, 2022·3 min read
venkatesh.hashnode.devS3 data size calculate using the LAMBDA PythonInspiration to write this story While doing a task to calculate the daily basis usage of s3 sizes based on the prefix. like we used to have different types of files (videos, images, csv files and JSON files). Wrote a script in the python using the B...Aug 1, 2021·2 min read
venkatesh.hashnode.devMock AWS services using pythonMotivation to write below blog: I used to write the lambda functions . like each lambda will work as a one micro service, it will have the API Gateway and S3 bucket. But every time I hit the API it will call the lambda then the records will be create...Jun 11, 2021·2 min read
venkatesh.hashnode.devFlask API Monitoring ToolMotivation to write this story: Yesterday we deployed a code in prod build and checking each functionality suddenly the web page is hanged we don't know what is causing the issue, we verified CPU is taking 100% usage. so stopped all the services and ...Apr 30, 2021·2 min read