Changes between Initial Version and Version 1 of Ticket #30778


Ignore:
Timestamp:
Sep 17, 2019, 3:56:41 AM (5 years ago)
Author:
lintong
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30778 – Description

    initial v1  
    11if possible, to avoid any problems that might arise from this behavior. Django uses lowercase table names when it auto-generates table names from models, so this is mainly a consideration if you are overriding the table name via the db_table parameter.
    22
    3 ------------ django don't avoid the app label maybe uppercase, it should be
     3--django don't avoid the app label maybe uppercase, it should be
    44'self.db_table = "%s_%s" % (self.app_label.lower(), self.model_name)'
Back to Top