summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/db/models/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/options.py b/django/db/models/options.py
index 0702655c2a..32a9a274ce 100644
--- a/django/db/models/options.py
+++ b/django/db/models/options.py
@@ -76,7 +76,7 @@ class Options(object):
if not self.db_table:
self.db_table = "%s_%s" % (self.app_label, self.module_name)
self.db_table = truncate_name(self.db_table,
- backend.get_max_name_length)
+ backend.get_max_name_length())
def add_field(self, field):
# Insert the given field in the order in which it was created, using