mirror of
https://github.com/django/django.git
synced 2025-01-15 04:45:51 +00:00
309c10c2cb
The is_iterator() function was removed in 2456ffa42c33d63b54579eae0f5b9cf2a8cd3714.
10 lines
203 B
Python
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)
|