Customized email with django

I struggled a lot for sending a good customized template in an email from my code. I used many email sending utility and i was able to send emails successfully from my code. But they didn't really look very good. It was just some email with some text in it. So Used one of the … Continue reading Customized email with django

Backend view for follower/following database logic

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

Upgrade django version (1.3 to 1.6 for the current example) Part-1

Hey guys. Hope you doing well. This time i am going to write about upgrading django version. I have been working in a very complecated project which was built in django 1.3. We are in year 2015 n i was working on django 1.3, which was released about 3-4 years back. The framework was almost … Continue reading Upgrade django version (1.3 to 1.6 for the current example) Part-1

Upgrade django version (1.3 to 1.6 for the current example) Part-2

Hey guys. Last time we have started a discussion on upgrading django version. We have discussed the first two steps ie, setting up virtual environment and corrections in manage.py. Our next goal is to replace obsolete libraries in the settings.py file. Corrections in the outdated libraries in the setting.py. This is a very important step. … Continue reading Upgrade django version (1.3 to 1.6 for the current example) Part-2

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