I got template not found etc error while playing with Django, and obviously my turtorial material is not up to date.
Symptom is described here:
http://sam.bluwiki.com/blog/2008/07/django-error-while-importing-urlconf.php
“If you’re getting it, it’s likely you updated to the latest Django SVN release, and haven’t upgraded your admin site’s configuration.”
and the solution link is on the same page, which, in short, add following lines to urls.py:
from django.contrib import admin
admin.autodiscover()
and uncomment this line:
(r’^admin/(.*)’, admin.site.root),
that’s it …
Just started doing some Python stff, and since it will be used to for small site or quick prototype, I decided to try TurboGears which is seems to be a promising framework.
Pity Ubuntu packaging of TurboGears is broken, per bug, Ubuntu was packaging python2.5 files in the 2.6 package.
Yuck, have to wait till they fix it as first, I’m not in a hurry, second, I’m not familiar with whole stuff so I may mess up the system.
I can still play with Python though, take it as a generic scripting lanage such as Perl and PHP, do some command line stuffs.
Boss asked me check out Google’s App Engine, and said that’s cool and could be the direction that we are going to move to, though we may only serve internal customers.
I’m still playing with it – I’m not familiar with Python no Java, and I don’t like them too much, but I can try.
Is grid/cloud the right thing to go? Doubt, but since there are so many experts take it seriously as future, let’s assume it is the direction. It may like “open system”, or “client servr”, or “3-tiers achitect”, or “go web”, or “virtualization” – all these words used to be fancy or cool, but later on they just become our daily life in development.