mirror of
https://github.com/django/django.git
synced 2024-11-19 16:04:13 +00:00
a778c9de47
on a model that was not being edited inline. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
14 lines
379 B
Python
14 lines
379 B
Python
from django.db import models
|
|
|
|
class First(models.Model):
|
|
second = models.IntegerField()
|
|
|
|
class Second(models.Model):
|
|
first = models.ForeignKey(First, related_name = 'the_first')
|
|
|
|
# If ticket #1578 ever slips back in, these models will not be able to be
|
|
# created (the field names being lower-cased versions of their opposite
|
|
# classes is important here).
|
|
|
|
API_TESTS = ""
|