Quantcast
Browsing latest articles
Browse All 5 View Live

A change in direction: Python, Django, and Google App Engine

This is a cross-post from my other for-own-use developer blog. I’m posting it here because people often ask me what I’m so busy with. It’s been a while since my last post; I have been real busy....

View Article


Allow your visitors to sign in via Twitter, Facebook, FriendFeed, OpenID, and...

The title says it all. Allow your visitors to sign in via Twitter, Facebook, FriendFeed, OpenID, and OAuth with django-socialregistration. Hence the name, “social registration”. I’ve been tinkering...

View Article


Django: Querying datetime aware objects in your local timezone

Situation: I have a model with a datetime field that I used as a timestamp. I’m in California’s timezone (“America/Los_Angeles”). The data is saved in UTC in MySQL (as confirmed by the ORM). I just...

View Article

Django template filter: Add zero-width space to break up long strings

Problem You have some long text with no spaces (e.g. long words or long URLs) and it messes up your alignment in your small <TD> or <DIV>. Perhaps in this situation (such as in a URL), you...

View Article

3rd Party Django App Migrations on Heroku

Hopefully this will save someone the few hours I spent hunting for a solution. I’m using Django 1.9 on Heroku. I was using a 3rd party app (django_messages), which required database migrations. But the...

View Article

Browsing latest articles
Browse All 5 View Live