Hi Guys I have got a request from @trafffic98 to explain the logic as a follow up of follower/following database logic, written here. so here in this blog i will just put the logic of follow and unfollow button. Follow def follow(request): """ Method is used to follow an user. """ response = {} # … Continue reading Backend view for follower/following database logic
Tag: database
Follower/Following database logic with django
I have used a lot of social networking sites, including twitter and instagram. Sometimes i wonder how this FOLLOW concept work in these applications. I have done a bit of investigation and finally came up with a way to do that in django. So here it goes .... The idea is We have Auth user in … Continue reading Follower/Following database logic with django
The Awesomeness of MySQL Indexing. Simple, fast, accurate and reliable.
Are you dealing with a huge heap of data each day in you database with over hundreds of tables and thousands of records in each table? If yes then you must be getting a slower performance. Same was the case for me too. I have a MySQL database with 230 tables in it and huge number of … Continue reading The Awesomeness of MySQL Indexing. Simple, fast, accurate and reliable.
Lets get started with pymongo
Hi everyone Mongodb is simply a nosql database structure, used for handling huge data. Pymongo is the driver used for using mongo db with python. Installation pip install pymongo The above command will install pymongo in a linux based system. Usage # It's simply a python file which uses pymongo # driver to interact with … Continue reading Lets get started with pymongo