Category Archives: FeFNet

Django From the Ground Up

There’s a cool series of screencasts to watch to learn about building an event website in Django, a web development framework built in Python. The folks at have a rather new site, and the archives just isn’t there yet. This series of screencasts is a great example that has good information for any Django project, so if you want to learn Django in quick, easy lessons, let this be your guide:

  1. Episode 1: Setting Up Version Control
  2. Episode 2: Settings and Models
  3. Episode 3: Why Customize the Manager?
  4. Episode 4: This is the Fun Part (urls, views, templates, and more)
  5. Episode 5: URL Reverse Resolution
  6. Episode 6: Debugging
  7. Episode 7: What’s the Downside?
  8. Episode 8: The Foundation for Social Networking
  9. Episode 9: Reusing a Function to serve customized data
  10. Episode 10: Generic Views and Pagination
  11. Episode 11: Advanced QuerySet Techniques
  12. Episode 12: Adding AJAX
  13. Episode 13: Deployment

I’m a huge fan of Django, but I’ve only had time to work on one site. The best reason to learn how to use Django is that creating websites can be fun again!

Beginning Django

As I move on from the stage of just “getting my feet wet” with the Python-based web framework Django, I’ve found a lot of good resources for learning that weren’t very obvious initially. Although everyone’s case may be different, I’ve found the following strategy to be very helpful for my learning.

Get your hands dirty. After getting a feel for what Django is, start the tutorial. I recommend skipping version 0.96 and going straight to the development version of Django because there have been a lot of exciting new features added since 0.96. As long as I’ve been sure to keep up to date with recent changes, I haven’t had any problems using this development version.

Back up often! Make sure you keep copies of different versions of your files. Doing this will help your programming from the beginning, and it encourages you to improve your code instead of being afraid to touch it for fear of breaking something.

Read the Manual. I admit that I usually don’t understand the things I’ve read in the Django Documentation. However, the more I play around with Django, the more I start to understand in the documentation.

Get to know the community. Subscribe to the Django Community feed and find some authors you like to read. Skim the articles that come across and browse through blog archives for more information on subjects you aren’t familiar with yet. Some of my favorites Django authors are James Bennett and Malcolm Tredinnick, although there are plenty of others worth reading.

Take a look at other’s work. One place to start is the DjangoResources page on the wiki. Find a simple application and open it up – figure out why it works the way it does. There are plenty of places to look for this type, including Django Pluggables and Django Sites.

Don’t be afraid to ask! If you can’t find help on a given topic, try a few web searches. If that doesn’t give you what you’re looking for, ask for help on the django-users mailing list. As you learn more, be sure to give back to the communities that have helped you get to where you are now because there are new users who won’t have your experience, and sometimes freshly-learned information can be easier to share with newbies since you’ve been in their shoes recently.

As Django moves toward a 1.0 release in just a few months, there’s never been a better time to learn Django.

My Django Test Drive

With school out for the summer, I’ve been spending some of my free time learning to program with Django (pronounced JANG-oh — the D is silent) and Python. Over Christmas break I had spent a lot of time playing with Ruby on Rails, and I really enjoyed it, but I made a promise to some friends to try Django before committing to Ruby on Rails. I’m glad I did, because it has been pretty easy and a lot of fun. I’ve done programming for plenty of websites before, and Django took everything I wanted to do and made it much easier. Since I had to pick up Python at the same time I ran into some snags here and there, but I’ve done enough to this point that I wanted to show off my work.

My new site is really just a relaunch of one that I was writing in PHP and never really finished. Quotational.com was supposed to be a quotes database of funny quotes from movies and TV Shows, but I was never able to expand its humble beginnings with just one TV show. Now the new quotational has been live for a few hours and I’ll progressively add features as I learn more about Django. The idea is to get the site out there so I can get some feedback, so if you have any suggestions let me know in the comments. I’ve got plenty of ideas for things to improve, but I’m more likely to work on features suggested in the comments.

So I guess this means I’m semi-committed to Django, right? Well that’s okay, because it’s been a lot of fun and the learning curve hasn’t been too bad. Thanks to the framework makers for making web programming fun again!

It Starts at Home

I just read a great article that seems to begin with the exact words I wish everyone thought: Online Safety Begins with Parents, not Laws and Government. It seems like this should be common knowledge, but that’s decidedly untrue. Although many parents might know deep down that they are the ones responsible for their children, it’s all to common for parents to at least behave as if they thought the schools were in charge of raising their kids.

A couple of years ago, my wife and I worked with elementary-age children who were at an age of exploration. They were often seeking of ways to test their boundaries, and it was obvious which ones had structured limits at home in the things they were allowed to do. This lack of parental responsibility was a frequent topic on our drives home, and we realized that proper boundaries could help children learn much faster than if they were given free reign to explore boundaries for which they weren’t prepared. It’s up to all us – parents, siblings, friends, whatever – to help raise future generations, so let’s never think it’s someone else’s problem.

Crazy Eights

This is a meme that Beth tagged me to do. You asked for it, you got it. Toyota.

8 things I’m passionate about:
1. Learning
2. Being a good husband and father
2. Living up to my beliefs
3. Having fun
4. Being prepared
5. Tinkering with technology
6. Learning about how to be a good husband and father
7. Learning about having fun
8. Learning about how to tinker with technology

8 things I want to do before I die:
1. Finish school
2. Decide what “finishing school” actually means
3. Own a house
4. See lots of places with family (because family vacations are more fun)
5. Get season tickets for a baseball team and go to every game
6. Never throw up again
7. Become a contestant on Jeopardy!
8. Visit all 50 states

8 things I say often:
1. “You guys are dangerous”
2. Too early for flapjacks?
3. When will then be now?
4. We got no food, we got no jobs, our pets’ heads are fallin’ off!!
5. Don’t you worry about blank, let me worry about blank.
6. God’s given me a gift. I shovel well. I shovel very well.
7. You have the whitest white part of the eyes I’ve ever seen. Do you floss?
8. Last night, Darth Vader came down from planet Vulcan and told me that if I didn’t take Lorraine out that he’d melt my brain.

8 books I’ve recently read:
1. Hop on Pop
2. One Fish, Two Fish, Red Fish, Blue Fish (I hope to have this memorized soon)
3. The Book of Mormon
4. There Was an Old Lady
5. Clifford does something with something else
6. Agile Web Development With Rails
7. Grover’s Own Alphabet
8. The King of Torts

8 songs I could listen to over and over:
1. “It’s the End of the World as We Know It (And I Feel Fine)” by R.E.M.
2. “Mmm Mmm Mmm Mmm” by Crash Test Dummies
3. “Birdhouse in Your Soul” by They Might Be Giants
4. “Arch Drive Goodbye” by Eve 6
5. “Real World” by Matchbox Twenty
6. “Soul Meets Body” by Death Cab for Cutie
7. “Omaha” by Counting Crows
8. “Breathing” by Lifehouse

8 things that attract me to my best friends:
1. Humor
2. Respect for things that I respect
3. Easygoing nature
4. Similar interests
5. Affinity for the movie Groundhog Day
6. Respect for my beliefs
7. Cheerfulness
8. They drive me to be a better person

8 things I’ve learned this past year:
1. Being a parent is often more fun than it should be.
2. Children do crazy things.
3. It’s easier to be happy when you have a budget
4. I don’t take enough pictures
5. I enjoy having a backyard
6. Playing in the snow is fun
7. Be sure to make comments like “If the Rockies go to the World Series, can I go?” when they have such a small chance of doing it that your spouse is required to say yes.
8. “By small means the Lord can bring about great things”

8 people I think should do Crazy 8’s:
1. The Monster from Cloverfield
2. A monkey with a typewriter
3. Jane Austen
4. Mike Tyson
5. Optimus Prime
6. OK Go
7. Snagglepuss
8. Howie Mandel, cult leader