Archive for September, 2013


quote-it-s-not-that-i-m-so-smart-it-s-just-that-i-stay-with-problems-longer-albert-einstein-56385

I think I may have figured out my file field issue. I had been trying to get it to accept a URL for a file as an argument, but since it is an upload function it probably needs a file path from your computer. I’ll test my theory today.

In the meantime I’ve created a new virtual environment to play with the Django tutorial some more. I’m starting to see how ambitious my goal is of having a working web app by Christmas, but I am determined to see it through. I just need to keep my mind on the grind.

Slow progress this week. My wife, both kids, and myself all came down with the flu. Also I realized that I had forgotten how views and forms work in Django. I’m going to grind through the tutorial again with my new level of understanding to see if I can get more of it to stick this time.

“Obstacles are like wild animals. They are cowards but they will bluff you if they can. If they see you are afraid of them…they are liable to spring upon you; but if you look them squarely in the eye, they will slink out of site.” ~Orison Swett Marden

I encountered another roadblock last night.  I was struggling to understand exactly how the FileField works in Django by simply reading the documentation.  I was beginning to get frustrated and then I did the only thing you can do.  I threw it into my Django code and started playing with it in the API.  By making mistakes and analyzing the error messages, I am slowly but surely making headway in properly implementing this new concept.

I think this is the toughest part of learning programming for me.  I sometimes find myself stuck on a problem, and afraid to act because I’m worried I’ll make a mistake.  It takes willpower to plunge into the dark looking for the light switch, but in the end it’s the best way to avoid this trap in my experience.  Acting is better than doing nothing.  If you make a mess of it just start over!