Simon Willison’s Weblog

Subscribe
Atom feed for django Random

588 posts tagged “django”

The Django web framework.

2007

tranquil. Inspired take on the Django ORM to SQLAlchemy problem: lets you define your models with the Django ORM but use SQLAlchemy to run queries against them.

# 9th October 2007, 2:30 am / sqlalchemy, python, django, orm, djangoorm, models, tranquil

DbMigration—a schema migration tool for Django. Nice and simple tool for adding schema migrations to a Django application.

# 27th September 2007, 3:04 pm / django, orm, djangoorm, migrations, sql, python

Django GridContainer. Media Temple’s virtualized Django hosting is now accepting applications for beta testers.

# 22nd September 2007, 12:01 pm / mediatemple, django, hosting, virtualization, gridcontainer

Zope3 for Djangoers. I prefer “Djangonauts”, personally. Useful overview of Zope 3 for people with Django experience (first of a multi-part series).

# 14th September 2007, 3:20 pm / django, djangonauts, zope, zope3, python

Restructured Text to Anything. Slick set of online tools for converting Restructured Text (one of the more mature wiki-style markup languages) to HTML or PDF. Includes a nice looking API. Powered by Django.

# 13th September 2007, 3:54 pm / django, restructuredtext, python, html, pdf

django-sphinx (via) More code from Curse Gaming; this time a really nice API for adding Sphinx full-text search to a Django model.

# 9th September 2007, 12:35 am / django, python, orm, search, sphinx-search, cursegaming, david-cramer, full-text-search

Advanced Django. Slides from my hour long tutorial at PyCon UK this morning. Most of the material was adapted from OSCON, but I also added a new section covering newforms.

# 8th September 2007, 1 pm / slides, pyconuk, newforms, django, pyconuk2007, slideshare, my-talks, tutorial, python

Django on Jython: What I’ve done until now. It’s not quite there yet (the new Jython is Python 2.2 with a few 2.3 features; Django requires 2.3 at least) but it’s looking pretty promising.

# 4th September 2007, 2:53 am / django, python, jython, java

Django vs feedparser on dates. Some useful tips in the comments. I find Python’s timezone stuff endlessly frustrating: I know it can do what I want, but it always takes me a ridiculously long time to figure out the necessary incantations.

# 2nd September 2007, 10:17 am / python, datetime, django, feedparser, timezones

A Django Cache Status. Django view to display stats pulled from your memcached server.

# 25th August 2007, 2:08 pm / memcached, django, fredrik-lundh

Satchmo 0.5 Release. Django powered e-commerce application, “the webshop for perfectionists with deadlines”.

# 22nd August 2007, 10:36 pm / django, satchmo, releases, python

Django and the iPhone tutorial. How to install SSH, Python and Django on your iPhone and get Django running against the call database. Less complicated than I expected.

# 21st August 2007, 11:34 am / django, iphone, tutorial, jay-baird

BabelDjango. Tools for integrating Christopher Lenz’s Babel i18n framework with Django.

# 20th August 2007, 2:59 pm / christopher-lenz, django, babel, python, i18n

Django on the iPhone. Jacob got it working. The next image in his photostream shows the Django admin application querying his phone’s local database of calls.

# 19th August 2007, 7:58 am / jacob-kaplan-moss, django, python, iphone, apple, django-admin

Changeset 5925. You can now register custom commands for your application with Django’s manage.py script. More sensible than littering your application’s root directory with shell scripts.

# 18th August 2007, 11:06 am / django, python, managepy

AuditTrail. Add change tracking and history to a Django model with a single line of code. Doesn’t handle relationships though, which is definitely the toughest part of this problem.

# 15th August 2007, 1 pm / django, orm, history, audittrail, python

Finding Lookup Items that Are Not Used. How to do left outer joins (and other custom SQL) using the Django ORM.

# 13th August 2007, 5:08 pm / django, orm, sql, michael-trier, python

Ubuntu -- python-django. Sweet, Django 0.96 is packaged for Ubuntu Gutsy.

# 11th August 2007, 8:47 am / django, python, ubuntu, gutsy

Inline images are stored as data URI:s in the intermediate format (and usually also in the source documents), but since not all browsers support this format, the renderer replaces the data URI:s with HTTP pointers to an image cache directory.

Fredrik Lundh

# 7th August 2007, 10:52 am / django, datauri, http, fredrik-lundh

A nice example of when to use reduce in python. As a shortcut for assembling a large OR query using the Django ORM.

# 2nd August 2007, 11:51 pm / orm, django, reduce, python

Django, iCal and vObject. Easy iCal generation for Django using vObject.

# 1st August 2007, 11:09 am / vobject, derek-willis, django, python, icalendar

Java’s Fear of Commitment (via) How Java culture emphasises interfaces and layers of abstraction over solving problems directly.

# 1st August 2007, 10:32 am / java, django

Django weekly roundup: July 30. Every active open source project needs something like this.

# 30th July 2007, 5:03 pm / django, open-source, clint-ecker

mod_wsgi 1.0 Release Candiate Available. mod_wsgi is shaping up to be an excellent alternative to mod_python.

# 26th July 2007, 8:21 pm / modwsgi, modpython, python, django, wsgi

Instant Django. Portable Django environment for Windows, no installation required. Can also be run from a USB thumb drive.

# 24th July 2007, 6:49 pm / instantdjango, django, usb, windows, python

Django Master Class. Notes and slides from the OSCON tutorial I gave yesterday with Jacob Kaplan-Moss and Jeremy Dunck.

# 24th July 2007, 3:20 pm / oscon, jeremy-dunck, django, jacob-kaplan-moss, oscon07, speaking, tutorial, python, my-talks

Undelete in Django. Inspired by the conversation about undo the other day, Nathan Ostgard created a simple solution based around custom managers and a trashed_at model field.

# 20th July 2007, 6:54 pm / orm, custommanagers, django, nathan-ostgard, undelete, undo, python

Seasoning Templates. “Designing a template language is a lot like seasoning a dish; there’s a whole range of tastes out there.”

# 19th July 2007, 6:04 pm / django, templates, jacob-kaplan-moss

Logic in Templates. I don’t think it would hurt Django to have a bit more support for conditional logic in templates, but I wouldn’t go as far as supporting the ability to call Python functions directly.

# 19th July 2007, 8:35 am / templates, logic, christopher-lenz, python, django