OpenStreetMap.js error: OpenLayers.Layer.OSM is undefined

2009-06-28 Thread Jeremy Epstein
Hi, I'm working on a Django hobby project on-and-off, and it makes heavy use of GIS and OSM. The last time I worked on the project was several weeks ago. Today, I fired up Django again to do some more work on it. However, it seems that the display of OSM widgets in admin screens is now broken. On

Choices validation on model fields

2009-04-30 Thread Jeremy Epstein
x27; % (self.choice_type, self.choice_provided, '\', \''.join(self.valid_choices)) - How to test it: $ python manage.py shell >>> from bar.foo.models import Foo >>> foo1 = Foo(name='Foo Hoo', foo_type='that') (works fine, 'that&#