|
@@ -20,7 +20,7 @@ DEFAULT_NAMES = ('verbose_name', 'verbose_name_plural', 'db_table', 'ordering',
|
|
'order_with_respect_to', 'app_label', 'db_tablespace',
|
|
'order_with_respect_to', 'app_label', 'db_tablespace',
|
|
'abstract', 'managed', 'proxy', 'swappable', 'auto_created',
|
|
'abstract', 'managed', 'proxy', 'swappable', 'auto_created',
|
|
'index_together', 'apps', 'default_permissions',
|
|
'index_together', 'apps', 'default_permissions',
|
|
- 'select_on_save')
|
|
+ 'select_on_save', 'default_related_name')
|
|
|
|
|
|
|
|
|
|
def normalize_together(option_together):
|
|
def normalize_together(option_together):
|
|
@@ -99,6 +99,8 @@ class Options(object):
|
|
|
|
|
|
self.apps = apps
|
|
self.apps = apps
|
|
|
|
|
|
|
|
+ self.default_related_name = None
|
|
|
|
+
|
|
@property
|
|
@property
|
|
def app_config(self):
|
|
def app_config(self):
|
|
|
|
|