Hi Everyone. I would like to introduce my Youtube channel named Code Box for better and good coding practice and learning. I have started uploading Videos to my channel. First Playlist is for getting started with python learning. I will me uploading 5 videos to the playlist and i am aiming to cover the following … Continue reading Harness the Power of Python
Blogs
Better python code with Sublime flake8 plugins
Write awesome and beautiful code in python by using simple plugins. I use python flake8 lint for code coding standards and good coding practice. the following video describes. The usage. https://www.youtube.com/watch?v=NrdbCXxOF7o Please like/comment/share the video if you like it. Thanks
Python 2, Python 3 or both ?
Python programs are generally expected to run slower than Java programs, but they also take much less time to develop. Python programs are typically 3-5 times shorter than equivalent Java programs. It is often 5-10 times shorter than equivalent C++ code! Anecdotal evidence suggests that one Python programmer can finish in two months what two … Continue reading Python 2, Python 3 or both ?
Site Is Down Comeback Later django
If you are developing some web app really good and expecting a good amount of traffic there 24X7 or even if people know that you have own a domain and you are going to release that app soon It's a very bad option to show some page break to user. I will Suggest quickly install … Continue reading Site Is Down Comeback Later django
Host Multiple projects on same server and same port with different domain name with apache.
This Particular blog is about hosting multiple application with different domains on the same server machine with apache. And guess what both are running on same port 😀 I came across many ways of hosting multiple applications on a server. I tried running them on different In every way i got what i needed but … Continue reading Host Multiple projects on same server and same port with different domain name with apache.
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-3
Hey guys. I am back with the part 3 of django version upgrade. Let me walk you through the next steps. Changed urls libraries. This is a small change required for the urls.py. Instead of writing from django.conf.urls.defaults import patterns, include, url now you have to write from django.conf.urls import patterns, include, url. There are … Continue reading Upgrade django version (1.3 to 1.6 for the current example) Part-3
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