Introspecting views in Django

Monday, February 15th, 2010
I've been developing small wikiesque app for Django recently, and since I'm a fan of human-friendly URIs I had some difficulty coming up with a DRY method for finding the primary model associated with any given view within my project. Of course, not every view is directly associated with a single model, but in most cases you can probably inspect each of your views and conclude that there is a single primary model instance which is most directly related. In this example, I'll explain the method which I've decided to use in order to take any requested URI path and rather than resolve it into a view, we will resolve it to a specific model instance. This greatly simplifies the process of creating sub-views which have access to the parent view's primary model instance.
read more

Tux used for nefarious purposes

Wednesday, December 23rd, 2009
It may sound strange, but every now and then I swing on over to Google and run a few searches for some of my wallpapers, particularly "See Hear Speak" and "Trampoline Tux" since people tend to upload those to various websites on a regular bases. I don't mind that people upload them as long as they include the proper CC license, but I stumbled across an article at The Register last night, which is certainly something new...
read more

Merry Christmas

Sunday, December 20th, 2009
Merry Christmas everyone! I just wanted to show off the fancy 5x7" prints I had made...
read more

Second Creeple results

Thursday, November 19th, 2009
I finished my second creeple quite a while ago but I haven't had time to post an article about it, so here it is. Casting went pretty well, although I made a couple mistakes with mixing too much plastic and ended up wasting a bit of it. I guess that's one of those things you learn by trial-and-error. Overall though, he turned out really good.
read more

The second attempt ( Creeple: part 2 )

Monday, August 10th, 2009
After the fairly successful creation of the first figure, I decided I'd order some molding/casting materials (silicone rubber, casting resin, all that stuff). I've never attempted working with such materials so this is my first attempt at such a thing. This article describes what I learned and how things went during the creation of the second Creeple figurine.
read more

My Recent Tweets

    Most recent w
    Thumbnail for Christmas Tux 2013

    Christmas Tux 2013

    Tuesday, December 17th, 2013
    Merry Christmas once again! I'm happy to share Christmas Tux 2013 with you on this day. My apologies for being so late, I've had a very busy few months. This year aimed for a little more minimal design compared to last year, and I also took the opportunity to utilize SVG filter effects which give the shapes a paper-like appearance. Due to my heavy use of SVG filters in this piece, I had to write a small Inkscape extension for handling transformation application. As always, created in Inkscape 0.48. click here to view is © Mark Riedesel. Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License