Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Django's Architecture: The Good, The Bad, and The Ugly

Django's Architecture: The Good, The Bad, and The Ugly

A talk I gave at FOSDEM 2011.

Andrew Godwin

October 22, 2011
Tweet

More Decks by Andrew Godwin

Other Decks in Programming

Transcript

  1. from django.contrib.gis.db import models class Lakes(models.Model): name = models.CharField(max_length=100) rate

    = models.IntegerField() geom = models.MultiPolygonField() objects = models.GeoManager() >>> lake3 = Lakes.objects.get(id=3) >>> newlake.geom.contains(lake3.geom) True
  2. How do you get better? Consistency, not always writing new

    features, and people with too much free time.