I'm dumb, sorry if I wasted anyone's time.  Found my answer in the
Model Fields Reference (http://docs.djangoproject.com/en/dev/ref/
models/fields/#django.db.models.ForeignKey):

-------------------------------------------------

If you need to create a relationship on a model that has not yet been
defined, you can use the name of the model, rather than the model
object itself:

class Car(models.Model):
    manufacturer = models.ForeignKey('Manufacturer')
    # ...

class Manufacturer(models.Model):
    # ...

Note, however, that this only refers to models in the same models.py
file -- you cannot use a string to reference a model defined in
another application or imported from elsewhere.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to