attribute: Phillie Casablanca

Round Two: More notes on django



I finally got around to playing some more with django.

One, since it took me so long to come back and play I forgot my admin password... after doing some searching I finally found the answer here:
http://coderseye.com/2007/howto-reset-the-admin-password-in-django.html

But, when I tried it from the command line I got this error, "EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined.".
A quick search turned up the answer to that as well:
http://forum.webfaction.com/viewtopic.php?pid=3564

And Two, as you can see the text display has improved a bit.
With the help of the django filters, "urlize", and "linebreaks", returns are now converted to the proper html tags, and links can now be clicked.

I'm glad I didn't try it the hard way and manually code these features in to raw code!

See the template documentation for details:
http://www.djangoproject.com/documentation/0.96/templates/

Also, I found this site for doing django development on windows:
http://thinkhole.org/wp/2006/04/03/django-on-windows-howto/

monkut // April 15, 2008 // 7:18 a.m.