Resources for Django on WebFaction
Entry updated June 11, 2008 at 6:37 a.m.
It feels like forever ago that patrickbeeson.com and a few of my other sites were hosted on Dreamhost. That is, of course, an increasingly distant memory now that I'm served by WebFaction's nearly fire-proof boxes.
But making a Django environment stable wasn't as turn-key as their marketing might lead you to suspect (though it's easier than Dreamhost).
In an effort to help future WebFaction Djangonauts, here are some most-read posts from WebFaction's excellent user-forum and knowledgebase.
Domain transfer
Note: WebFaction doesn't handle domain registration. You'll need to change your name servers to those used by WebFaction. Mine are still on Dreamhost.
Apache configuration
- How do I stop/start/restart my Django Apache instance?
- How to fix errors like: ImportError: No module named django.core.management
- How do I serve static content?
- Running multiple Django sites from the same Apache/mod_python instance
Django configuration
- Serving the Django admin media directly from the main Apache server
- How do I run the latest Django trunk?
- Cron + Django Script
- For Newbies - deploying your Django app
- Running "manage.py syncdb"
- Using Robots.txt file under Django in WebFaction
- Sending e-mails from Django
- Deploying A Django Application
Memory usage
Note: If you're not careful in building your Django app, you will exceed your memory limit.
- How much memory am I using?
- Tips to keep your Django/mod_python memory usage down
- Memory usage
- A script which will display your memory usage
Python
If you enjoyed this list of links, and are considering signing up for WebFaction, please use my affiliate link.
Five comments
Awesome writeup. You have suceeded in combining all the things which are to be known by a Djangonaut on webfaction. I want to know the pros and cons of mod_wsgi over mod_python?
@Yashh
Thanks. I've seen a forum post or two about using mod_wsgi, but that gets beyond my knowledge. I'm using mod_python, and it works. Good enough for me.
Dude. Thank you.
Thanks for the write up. :) A few comments:
That's not the case anymore. The Django installers were improved when mod_wsgi was added to the control panel. One of the improvements was fixing the restart script.
@David
Thanks for the comment! And thanks for the excellent customer service at WebFaction.
I'll amend the entry with your suggestions.
Post a comment
Please use Markdown syntax for formatting. No HTML is allowed. By using this comment form, it's assumed that you agree with the terms of my comment policy.