1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/app_loading/not_installed/models.py
2013-02-26 14:36:57 +01:00

14 lines
273 B
Python

from django.db import models
class NotInstalledModel(models.Model):
pass
class RelatedModel(models.Model):
not_installed = models.ForeignKey(NotInstalledModel)
class M2MRelatedModel(models.Model):
not_installed = models.ManyToManyField(NotInstalledModel)