0
0
mirror of https://github.com/django/django.git synced 2024-11-25 07:59:34 +01:00
django/tests/utils_tests/models.py
Tim Graham 309c10c2cb Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.py
The is_iterator() function was removed in 2456ffa42c.
2017-04-26 10:54:06 -04:00

10 lines
203 B
Python

from django.db import models
class Category(models.Model):
name = models.CharField(max_length=100)
class CategoryInfo(models.Model):
category = models.OneToOneField(Category, models.CASCADE)