Browse Source

Fix table name for MySQL

INADA Naoki 12 years ago
parent
commit
c8b47062c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      django/hello/world/models.py

+ 2 - 2
django/hello/world/models.py

@@ -5,9 +5,9 @@ from django.db import models
 class World(models.Model):
   randomnumber = models.IntegerField()
   class Meta:
-    db_table = 'world'
+    db_table = 'World'
 
 class Fortune(models.Model):
   message = models.CharField(max_length=65535)
   class Meta:
-    db_table = 'fortune'
+    db_table = 'Fortune'