There are many ways to set up a Git server. In this article I am going to show you how you can do it using the SSH protocol. First I am assuming you have a UNIX or GNU/Linux machine with you. I am not very sure if this works well on windows, I am assuming it would.
Read the rest here
I guess some how they missed it in the documentation or I have overlooked it. We had a situation where we needed to create an abstract base class. It is quite a simple process. Create the base class with meta, abstract: true.
Read the rest here
Its been a difficult shift, but with many things in mind I decided to move to Tumblr. My new blog : http://blog.ranjeev.in. Hope I see you folks there.
Thanks for all the comments and appreciation.
Just a note:
The page in django docs , for sending a POST request with a CSRF token does well in explaining how to do so, but I feel it fails to point out that using JQuery 1.5 does not work, you need to update to > 1.5.1.
I have been working with Django for more than a year now and the more I learn about it the more it gets better. I do have a few hiccups but there are solutions for them, mostly. Any ways one thing I find very interesting is the model’s manager. Objects of a model, or a few objects, can be retrieved using these methods: Continue reading “Django Managers”
I had set up a CentOS server last year, if you remember with a RAID setup. Things had been going on very well for more than a year and a half. A few weeks back one of the hard disks issue warning that it had bad sectors and needed replacement. Thus we bought a new hard disk and replaced it. And thankfully to the RAID system I did not have to get it offline. Continue reading “Samba stuck on service smb start”
My search for a Django IDE led me to stumble upon Vim. I have used Vim from the days of my RHCE training. To think of it I used it the very first time I used Linux. All the command line tweaking and editing of files that had to be done were shown in vi. Then my ignorant mind did not comprehend the ‘:’, esc and all. It just seemed so weird.
Continue reading “Vim an alternative for Django IDE”