Django cron on Webfaction
James Bennett addresses one of the most frequently asked questions in Django – “How do I write a standalone script which makes use of Django components?” That is what I needed to do. I’m still learning Python so I wasn’t sure why the methods he described in his article didn’t work for me. (OK, I [...]
July 31, 2009
·
Dustin ·
12 Comments
Tags: cron, django, python, webfaction · Posted in: Programming & Internet
Django: Filter Model on Date Range
I’m sure this is in the documentation *somewhere* but it wasn’t totally obvious to me and I knew there had to be an easy way to filter a model based on a date range. I’m in the process of filtering transactions for Inzolo and giving the user options for the following date filters: Month to [...]
June 22, 2009
·
Dustin ·
Comments Closed
Tags: date, django, range · Posted in: Programming & Internet
Django & Djson… er, JSON
I must admin this is my first attempt at even using JSON. I wanted to produce some data that I could consume with jQuery and I figured JSON was the best format for the job. I found Django has a method for serializing Model query sets easily and it seemed to work just fine. The [...]
May 21, 2009
·
Dustin ·
7 Comments
Tags: django, jquery, json, python, simplejson · Posted in: Programming & Internet
One Click Django Project Publishing
I was reading The Joel Test and I got to number #2 which says "Can you make a build in one step?" My initial thought was that there aren’t really builds per se in web applications (unless you use ASP.NET). But then I thought, I wonder if I could make publishing my Django application a [...]
May 15, 2009
·
Dustin ·
20 Comments
Tags: django, plink, putty, ssh, subversion, webfaction, windows · Posted in: Programming & Internet
Webfaction Review
I was looking at my web stats and noticed I was getting a lot of traffic to my limited review of Webfaction. To recap, I tried out there account then decided to cancel, and they were prompt and friendly at delivering a refund. Since that time, I have set up two Webfaction accounts. When I [...]
May 15, 2009
·
Dustin ·
65 Comments
Tags: cpanel, directadmin, django, Ruby on Rails, webfaction, wordpress · Posted in: Programming & Internet, Web Sites
Django: Login Form on Every Page
Up to the point, when it has come to Django user authentication and registrations, I’ve used django-registration as a plug and play solution. Authentication was frankly something I didn’t want to dive into, until now. It turns out it is not scary at all. For my latest project, I had some space to fill in [...]
March 31, 2009
·
Dustin ·
29 Comments
Tags: django · Posted in: Programming & Internet
Django: Filtering a ModelForm field
So something what should be so relatively easy can turn out to be quite hard when you don’t know where to go for the answer. Generally the #django channel on IRC is an awesome help, but this morning I felt invisible so I can too keep digging. Finally I found my answer in code from [...]
March 10, 2009
·
Dustin ·
13 Comments
Tags: django · Posted in: Programming & Internet
Dynamic Filtered Drop-Down Choice Fields With Django
I’m enjoying the Django framework. Sometimes, what was seems rather easy (relatively speaking) gets sort of complicated when working within the boundaries of a framework. Such was the case with my latest endeavor to filter on drop-down based on the selection of another drop-down. Here is the situation: I have a database with car makes [...]
October 3, 2008
·
Dustin ·
7 Comments
Tags: ajax, django, prototype · Posted in: Programming & Internet
Setting up Django on a WHM/cPanel VPS (LiquidWeb)
I ordered a new VPS from LiquidWeb for the purpose of using it to host our company’s new product that I’m currently writing in Django. I have another VPS with LiquidWeb and I highly recommend them! I got Django up and running on my other server with some help of LiquidWeb support. This time I’m [...]
September 25, 2008
·
Dustin ·
8 Comments
Tags: cpanel, django, python, whm · Posted in: Programming & Internet
Django Accounts on Subdomains
*Disclaimer: I’m a Django and Python newbie. Your mileage may vary following my advice. My Goal is to create an accounts system similar to Unfuddle, where to register for a new account, a user will enter a subdomain and admin login (see Unfuddle registration). Users can’t really log in from the home page – only [...]
September 11, 2008
·
Dustin ·
7 Comments
Tags: django · Posted in: Programming & Internet


