app/django/contrib/gis/tests/relatedapp/models.py
changeset 323 ff1a9aa48cfd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/django/contrib/gis/tests/relatedapp/models.py	Tue Oct 14 16:00:59 2008 +0000
@@ -0,0 +1,13 @@
+from django.contrib.gis.db import models
+from django.contrib.localflavor.us.models import USStateField
+
+class Location(models.Model):
+    name = models.CharField(max_length=50)
+    point = models.PointField()
+    objects = models.GeoManager()
+
+class City(models.Model):
+    name = models.CharField(max_length=50)
+    state = USStateField()
+    location = models.ForeignKey(Location)
+    objects = models.GeoManager()