Articles in Django
Topics related to the Django web development framework.
Added a Topic Feature
Posted on February 14th, 2010 by
Stephen DeGrace
I just finished adding a Topic feature to my Blog application. The concept is similar to tagging, which for good or for ill I deliberately decided not to implement. The idea is that topics will allow me to more easily connect related articles, which since creating my "Doom Series" I have had the desire to do.
Refactoring Infinite with Link Trees
Posted on November 30th, 2009 by
Stephen DeGrace
There are three new goals I have in terms of where I'm going with this Infinite application (the suite of Django applications that runs this site). One is simple - to add an app for linking to eclectic outside sites, including for use as a blogroll. Another is to create a graphical tree app as an extension of the Django admin which simplifies the process of building menus and adding local content. Going along with that is a way for applications to conveniently list off what links they have available in such a way as to easily interface with the graphical menu tree app. Finally, I want to leverage the capabilities developed to list content for the menu tree to build an extension to TinyMCE to easily link to local content while blogging.
Created a front page app
Posted on November 10th, 2009 by
Stephen DeGrace
I decided to encapsulate the functionality of the front page with its own separate app. There is only one visible change to the way the front page looks and acts, but it is implemented in an entirely different way.
Taskmaster App Available For Download
Posted on November 6th, 2009 by
Stephen DeGrace
I now have my taskmaster application (a program which allows other Django apps to arbitrarily queue tasks for background processing) packaged as a download.
Infinite (Django) and Wordpress: A Comparison
Posted on October 28th, 2009 by
Stephen DeGrace
Infinite, the Django application set (I don't want to say "application," because a Django site is actually a set of applications linked by a settings file) that runs infiniterecursion.ca is basically feature complete. This seems like a good time to step back again and consider what I've made.
LinkBacks and Search Added
Posted on October 26th, 2009 by
Stephen DeGrace
Last night I added the last of the originally-planned features for the infiniterecursion.ca web site. The new features are the linkback system and a Search feature.
Trials with Javascript dialogs
Posted on October 13th, 2009 by
Stephen DeGrace
The built-in Javascript dialogs, alert, confirm and prompt, give very limited possibilities for customization and they don't look pretty. This encourages increasing numbers of developers to use more feature-rich alternatives where the dialog is actually a piece of HTML document which given dialog-like behaviour using Javascript.
Django and AJAX
Posted on October 12th, 2009 by
Stephen DeGrace
At the moment, Django does not heavily emphasize support for AJAX. Django does provide convenient serializers to exchange objects with the client in JSON or XML format, and of course it can easily send a response to a request in any format, so it certainly supports AXAJ, and JSON even when not running under Python 2.6 via the inclusion of simplejson in django.utils.
Anonymous Comments Now Available
Posted on September 22nd, 2009 by
Stephen DeGrace
I changed my implementation of the comments framework to allow anonymous comments, although I enhanced it by requiring a reCAPTCHA-based Captcha for anonymous posters.
Why Is PHP Better Than Python?
Posted on September 14th, 2009 by
Stephen DeGrace
Well, I don't really think PHP is better. But...