Simon Willison’s Weblog

Subscribe

Entries tagged django in 2011

Filters: Type: entry × Year: 2011 × django × Sorted by date


Is there a way to find out what apps are used by a specific django-based website?

Not really. You might be able to figure out some of them by looking out for common patterns of URLs and form field names, but a lot of reusable django apps don’t really expose much of a signature.

[... 60 words]

What are you some good blogs, videos, papers, etc. on scaling Django?

We’re building up a pretty sizable collection of video (and slides) from talks about Django on http://lanyrd.com/—including plenty that talk about scaling issues. Try this: http://lanyrd.com/search/?q=djan...—we have 16 videos and 16 slide decks from talks at events all over the world.

[... 102 words]

Why does Django still not have support for multiple joins?

I don’t fully understand the question, but if you’re talking about doing a single join across multiple tables the Django ORM handles that just fine. Let’s say you want to get every BlogEntry written by a User who belongs to the Group with the name “admins”:

[... 67 words]

Is South the best tool to use when doing database migrations in Django?

Yes. And I say that as an author of another Django migrations tool (dmigrations) which offered a small subset of South’s current functionality.

[... 42 words]

Which web server suits Django best? Apache, Nginx or something else?

I’m still a big fan of a stripped down Apache+mod_wsgi running behind nginx.

[... 98 words]

What is the best way to debug a Django app?

The Django Debug Toolbar is essential: http://robhudson.github.com/djan...

[... 95 words]

Why isn’t the schema and data migration tool South included in Django by default?

Because shipping things as part of Django means they can’t have separate releases, which means you only get a new released version every 6-12 months. South is improving far faster than that.

[... 113 words]

Types

Years

Months

Tags