// archives

Archive for October, 2008

Update: New Django app: FutureTweets.com

At SolidFlux we’ve been working on a fun new Django project called FutureTweets. It’s a basic Twitter application that allows Twitter users to schedule their updates.
By using FutureTweets, you’ll always have an alibi! You can also schedule reccuring updates daily, weekly, monthly or yearly (handy for sending birthday Tweets ). Please use the comments [...]

Change site layout by user preference

I found a nice Django pluggable app: Django userskins by Will Larson of http://lethain.com.
Similar to Twitter, it provides functionality that allows your users to set preferences about how your site looks to them. Quite handy if you ask me!
Read all about it here.

More on debugging Django

The other day, I read about another interesting way of debugging Django Apps:
If you use the following statement in you code:
import pdb; pdb.set_trace()
You can debug you app by running the server with the python command
manage.py runserver -p 8888
Then, after you visit the page where the set_trace() function is called, the server will break the code [...]

restrict access to Django site from all IP’s on Webfaction

For this one project I wanted to deny all access to the site except for a certain IP address. I knew it could be done by using the mod_authz_host Apache Module (more info here), but I couldn’t get it to work on a Webfaction shared hosting account.
After exchanging some mails with the Webfaction support team [...]

Python 2.6 released!

Awesome news: Python released new production ready version 2.6 yesterday!
Check out: http://www.python.org/download/releases/2.6/
We’ll keep you posted on what the consequences are for Django!

Django 1.0 mail notification of new comments

There are some old samples available online for doing this, but the 1.0 version of Django is not compatible with those. So I thought I’d share my solution for sending notification mails whenever there’s been posted a new comment on my Django site using Django signals.
The old way of connecting to a signal was:
dispatcher.connect(myFunction, signal=models.signals.post_save, [...]

Awesome Django Cheat sheet

The guys from Mercurytide released an updated version of their superhandy Django Cheat Sheet. Especially useful when you’re just starting with Django.
http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/

Categories

  • No categories

Django Hosting:

DjangoDays recommends the following Django hosting provider: