Changes between Version 1 and Version 2 of Ticket #26781


Ignore:
Timestamp:
Jun 20, 2016, 6:40:02 AM (8 years ago)
Author:
lao zzzi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26781 – Description

    v1 v2  
    1919Step 3. change the value of db_table from "Article" to "article"
    2020
     21{{{
     22class Article (models.Model):
     23    class Meta():
     24        db_table="article"
     25    title = models.CharField(max_length=200)
     26    body = models.TextField()
     27    date_cr = models.DateTimeField()
     28}}}
     29
    2130Step 4. make migrations
    2231
Back to Top