Changes between Initial Version and Version 1 of Ticket #26781


Ignore:
Timestamp:
Jun 20, 2016, 6:37:34 AM (9 years ago)
Author:
lao zzzi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26781 – Description

    initial v1  
    1 Problem appears after renaming db_table, if you try to rename, for example "Article" to "article" or "Blog" to "blog" or to "bLoG", etc.
     1Problem appears after renaming db_table, if you try to rename, for example "Article" to "article" or "Blog" to "blog" or to "bLoG", etc. and migrate this changes to database
    22
    33Example:
     
    55Step 1. Create model:
    66
     7{{{
    78class Article (models.Model):
    89    class Meta():
     
    1112    body = models.TextField()
    1213    date_cr = models.DateTimeField()
     14}}}
     15
    1316
    1417Step 2. make migrations & migrate
Back to Top