konekta/where-is-when-is — pull request #19 by paparent (2012-11-14 00:39:21+00:00)
Title: New Area models and import script

Hi,

Here's the work about the new models! I've create a new one, `Area`. So I didn't change anything in the frontend. That will be another step. I wanted to know if it's working like that on Rudi's computer, and maybe try to find some bug in it or things that we didn't think of it yet.

Once you migrate the schema, you can import the shape file with:

```
python manage.py import_shape 0 path/to/IND_adm0.shp
python manage.py import_shape 1 path/to/IND_adm1.shp
python manage.py import_shape 2 path/to/IND_adm2.shp
python manage.py import_shape 3 path/to/IND_adm3.shp
```

Don't mess the 2nd argument ! hehe It happened to me!

One that done (you can make a coffee, it's quite long), you can view it in the admin area. I disabled the map because it's very cpu expensive. We'll find a better way later, but in fact, I don't think it's really helpful in the admin area.

Have fun!