Django has proven itself (to me, anyway) as a great tool for the job of creating very robust web applications with lightning speed. In just a week or two, I’ve created a site that encompasses a blog with an akismet-powered comment moderation system, a code sharing section complete with highlighted code segments (and line numbers),…
Category: Scripting
Create a Tagging Index Page with django-tagging
For those not following along, I’ve been recreating LinuxLaboratory.org using Django. It’s my first Django project that you could call “real work”. I’ve been using the Django documentation, various blogs, and the 2nd edition of “Practical Django Projects”, which has given me a lot of ideas, and a lot of actual code. Some of it…
How To Get Firefox to Recognize Your Site’s RSS Feed
I just implemented an RSS feed in one of my sites the other day, and realized that visiting my site in Firefox did *not* result in the little blue feed icon showing up in the address bar area. Turns out it’s not so automagic. You need to do stuff to make it happen. To get…
My Django Project Update: RSS Feed, “Home” Link, and more.
In continuing the rebuild of LinuxLaboratory.org using Django, I’m happy to say that things have moved fairly smoothly. I’m using a good mix at this point of stuff from the 2nd edition of “Practical Django Projects”, the Django documentation, blog posts, and docs from other apps I’m making use of. RSS I said in one…
Django, Pygments, Templates, Code Sharing, and Design
Welcome to the latest update! I spent a total of about an hour on the “Social Code Sharing” application in the 2nd edition of “Practical Django Projects”, and I’m not completely finished with it, but I’ve got syntax highlighting and the basics covered. I can add, edit, and delete snippets, list snippets, and show a…
Django RSS Feed Finally Working
Ok, so now LinuxLaboratory has the following features working: comments (along with comment moderation and akismet support), a WYSIWYG editor for my posts markdown support for comments email notification of errors and new comments a full-blown administration interface that lets me deal with any apps, users, or content on my site, some cheesy CSS (hey,…
“Practial Django Projects”, Custom Template Tags, and Updates on LinuxLaboratory
Hi all, If you’ve not been following along, I’ve picked up the 2nd edition of Practical Django Projects, and am using it to help me reinvent LinuxLaboratory.org (LLO). Though LLO is really a documentation site where I republish articles I’ve written for Linux.com, O’Reilly, and others over the past 10 years, I started out by…
Awk Idioms: Shorten your pipelines, consolidate your tool set
I was lurking around on twitter during my lunch hour (yes, even freelancers need a lunch hour), and @bitprophet tweeted thusly: Get syslog-owned log names from syslog.conf: grep -v “^#” syslog.conf | awk ‘{print $2}’ | egrep -v “^(\*|\|)” | sed “/^$/ d” | sed “s/^-//” Followed by this: (Interested to see if anyone can…
LinuxLaboratory woes, Drupal -> Django?
Ugh… So, today I tried browsing to one of my sites, linuxlaboratory.org, and found a 403 “Forbidden” error. Calling support, they said it was a “billing issue”. Well, I pay my bills, and I haven’t received any new credit cards, so I’m not sure what that’s about. Further, they haven’t contacted me in any way…
I’m Offering Pro-Bono Consulting
I started my company about a year ago, but I’ve been doing consulting for a long time. In fact, my first job in the IT industry was working for a consulting firm. Before that, starting as far back as grade school, I was involved in a lot of volunteer civic and community service activities. I…