Coder’s Eye

A site about one of the three passions in my life.

Coder’s Eye header image 4

Entries Tagged as 'Django'

Django and authenticated smtp

March 22nd, 2006 · 1 Comment

I just sent off my first patch for Django. It adds the ability to send mail via SMTP servers which require authentication. I need this for Dreamhost, which has authentication on its mail servers.
The modifications were simple, and the code I was modifying was refreshingly clean. Better yet, the Django project site […]

[Read more →]

Tags: Django · Python

Coding Flow and Techniques

March 4th, 2006 · 3 Comments

Any programmer will tell you that one of the characteristics of really getting into a programming "flow" is that your mind is completely engaged.

[Read more →]

Tags: Reviews · Best Practices · Django

First use of the Django Magic Removal

February 24th, 2006 · 3 Comments

Last night I took a break from my most recent Django app, a mailing-list manager, to explore the new "Magic Removal Branch".
I diligently followed the instructions on the Django Wiki to change my existing code. There were more changes needed than I’d anticipated, but they all made sense, so I didn’t mind. Better, […]

[Read more →]

Tags: Django · Python

Another win for Django

January 31st, 2006 · 2 Comments

One nice thing about Django is that unlike many frameworks, you do not have to “grok” the whole thing to be productive. In my case, I hadn’t read a lot of the documentation other than the tutorial and the details of a few of the features I need for my first app. So, imagine my happy surprise when I found the very nicely implemented “documentation” link in the automatically generated admin site.

[Read more →]

Tags: Django · Python

Top ten reasons to use Django for your web framework

January 27th, 2006 · 5 Comments

Django is pulling ahead of every other web framework I’ve tried. For reference, that includes such recent heavy-hitters as: Jakarta Struts/Tiles, Spring, PHP Smarty, Zope, and Plone.
I’d been thinking about why that was so, why I’ve become so fond of Django so quickly, when I ran across a post at Jacobian.org, titled Why you […]

[Read more →]

Tags: Django · Python

Logging is good for frameworks too

January 19th, 2006 · 6 Comments

One thing I just don’t understand is why more people, especially framework designers, omit or skip logging. Django appears to, which is incredibly annoying to me. It is a complex framework, which makes all kinds of assumptions and relies on convention to infer a lot of functionality. That’s great, but being able […]

[Read more →]

Tags: Best Practices · Rants · Django · Python

Helpful Django utilities and links

January 9th, 2006 · 1 Comment

Two simple links which have been very helpful in doing my inital Django project.
1) The Dreamhost installation guide on the DH wiki.
2) The Django project template utility, which sets up new projects and all the assorted config files to a much greater degree than the built-in django-admin.py utility. I’ve added a couple more templated […]

[Read more →]

Tags: Django · Python

Django encourages Flow

January 8th, 2006 · 1 Comment

Django is one good web framework.

[Read more →]

Tags: Django · Libraries · Python