How do you deal with the case where you have a model (A) that relies on model (B) being defined, but model (B) also relies on model(A) being defined.
For instance, I hav
You can pass in the string of the class name to the definition of OneToOne and ForeignKey and have it evaluated "lazily".
OneToOne
ForeignKey
competitors = models.ManyToManyField('picture')
Also, the convention for model class names is camel-case (e.g. 'picture' => 'Picture', 'event' => 'Event').