This is a little shell script I save as rs, put on my path, and use as a shortcut to start the Django development server. It has several features that make me more productive...Read more
Blog posts by Dan
Django 1.3 added class-based views, but neglected to provide documentation to explain what they were or how to use them. So here's a basic introduction.Read more
One of the things I like best about Django is how easy its ORM makes it to work with databases. Too bad Django is only for web applications. Sure, you could deploy a Django app and then make use of it from a non-web application using a REST API, but ...Read more
I recently found a way to speed up a large data import far more than I expected.
The task was to read data from a text file and create data records in Django, and the naive implementation was managing to import about 55 records per second, which was going to ...Read more
Eclipse with the PyDev module has a lot to offer the Python programmer these days. If you haven't looked at PyDev before, or not in a while, it's worth checking out.
Here are some of my favorite features:
- One-keystroke navigation to the definitions of variables, methods, classes
- Code ...