Simon Willison’s Weblog

Subscribe

Entries tagged django in Sep, 2012

Filters: Type: entry × Year: 2012 × Month: Sep × django × Sorted by date


How do you organize the code in your Django project?

For http://lanyrd.com/ our layout looks something like this:

[... 214 words]

Why doesn’t the Django framework come with its own REST API out of the box?

I’d argue that it does. If you want to build a REST API you need to be able to map incoming HTTP requests to handler functions based on their URL, run some custom code and return an HTTP response containing JSON (or maybe XML). Django makes all of this really simple.

[... 330 words]

Types

Years

Months

Tags