#30778: keep the table name lowercase
-----------------------------------------+------------------------
               Reporter:  a372661369     |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  2.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 if 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.

 ------------ django don't avoid the app label maybe uppercase, it should
 be
 'self.db_table = "%s_%s" % (self.app_label.lower(), self.model_name)'

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30778>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.2bd4d7345c7724c7f5636de2145a9f04%40djangoproject.com.

Reply via email to