Showing posts with label django. Show all posts
Showing posts with label django. Show all posts

Monday, June 04, 2007

lecturefox.com

What is Lecturefox?

It’s all about the joy of learning.

Lecturefox is a free service. You can find high-quality classes from universities all over the world. We collect without exception lectures from official universities, and we have a special interest in lectures from the faculties computer science, mathematics and physics. In the category faculty-mix you can find miscellaneous lectures from other departments like electrical engineering, chemistry, biology, psychology, economics, history and philosophy.

Saturday, May 26, 2007

lecturefox.com

Lots of interesting video lectures.

These guys use django.

Top 30 Django Tutorials and Articles

As a response to the Top 30 Ruby on Rails Tutorials, I’ve compiled a list of the top 30 Django tutorials and articles. These links are in addition to the great documentation on the Django project site.

Sending E-Mails via Templates

So you've got an application written in Django that needs to send large bodies of e-mail, but you don't want the e-mail message itself to be in your Python code. Fair enough, I'd say - you should be separating form from function, and in this case, the e-mail output is still what I'd classify as 'form'.

One way to tackle this situation is to create a template for your e-mail body, process that template to fill in the gaps (eg Username, URL's, etc) and shoot it off via Django's e-mail functions instead of rendering it in a web browser as you'd normally do with templates.

Tuesday, April 17, 2007

Django on Windows

Make sure that the versions match. mod_python is finicky about the apache and python version.

python-2.5.msi

apache_2.2.4-win32-x86-no_ssl.msi

mod_python-3.3.1.win32-py2.5-Apache2.2.exe

MySQL-python-1.2.2.win32-py2.5.exe


Test as suggested here: http://www.modpython.org/live/current/doc-html/inst-testing.html

Django-0.96.tar.gz

Follow official version: http://www.djangoproject.com/documentation/install/