Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixed #1578 -- fixed a corner-case where we still wanting core=True a…
…ttributes 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
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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 = "" |