Changes between Version 2 and Version 3 of Ticket #23956


Ignore:
Timestamp:
Dec 4, 2014, 5:26:49 AM (10 years ago)
Author:
Kirill Gagarski
Comment:

Changed "IntegerField" to "AutoField"

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23956 – Description

    v2 v3  
    1313
    1414class A(models.Model):
    15     a_id = models.IntegerField(primary_key=True)
     15    a_id = models.AutoField(primary_key=True)
    1616
    1717
    1818class B(models.Model):
    19     b_id = models.IntegerField(primary_key=True)
     19    b_id = models.AutoField(primary_key=True)
    2020
    2121
Back to Top