Fix Django sample.

Importing Django's settings module can't happen until after we've 
told it what settings module to import.