Changes between Initial Version and Version 4 of Ticket #24849


Ignore:
Timestamp:
Oct 7, 2015, 7:53:07 AM (9 years ago)
Author:
Tim Graham
Comment:

There was a typo in the "Second migration" step in the description: category = models.ForeignKey(NewCategory, ... instead of ForeignKey(Category .... I fixed that and can now reproduce the same traceback you reported as of a76309f007fff6957f39190b06f8a9055f73130f (Django 1.10.dev).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24849

    • Property Triage Stage UnreviewedAccepted
  • Ticket #24849 – Description

    initial v4  
    2424class News(models.Model):
    2525    title = models.CharField(max_length=100)
    26     category = models.ForeignKey(NewCategory, blank=True, null=True)
     26    category = models.ForeignKey(Category, blank=True, null=True)
    2727    new_category = models.ForeignKey(NewCategory, blank=True, null=True)
    2828}}}
Back to Top