Quantcast
Channel: python – The Sunjay Times
Browsing all 5 articles
Browse latest View live

IE6 effect in HTML5 – How It Works [updated]

Quick update: Thanks for the endorsement Mr. doob! I’m honored Here is a web site with a cool Javascript effect by Mr. doob, recently posted on HN & Reddit. I’m trying to get better at my...

View Article



A LAMP guy’s n00b quick start to Amazon Web Services

TL;DR —The biggest thing I’ve taken away from trying to bum some free web hosting from the free micro instance plan is this: If you’re looking for just a standalone server with a LAMP stack for some...

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 all 5 articles
Browse latest View live




Latest Images