Permalink
Browse files

Small style cleanup.

  • Loading branch information...
aaugustin committed Dec 31, 2013
1 parent 69f0249 commit 75220d3b5dbe03ef70d42433178a9598133a4ac1
Showing with 8 additions and 4 deletions.
  1. +8 −4 django/db/models/options.py
@@ -42,9 +42,11 @@ def normalize_unique_together(unique_together):
@python_2_unicode_compatible
class Options(object):
def __init__(self, meta, app_label=None):
- self.local_fields, self.local_many_to_many = [], []
+ self.local_fields = []
+ self.local_many_to_many = []
self.virtual_fields = []
- self.model_name, self.verbose_name = None, None
+ self.model_name = None
+ self.verbose_name = None
self.verbose_name_plural = None
self.db_table = ''
self.ordering = []
@@ -53,13 +55,15 @@ def __init__(self, meta, app_label=None):
self.select_on_save = False
self.default_permissions = ('add', 'change', 'delete')
self.permissions = []
- self.object_name, self.app_label = None, app_label
+ self.object_name = None
+ self.app_label = app_label
self.get_latest_by = None
self.order_with_respect_to = None
self.db_tablespace = settings.DEFAULT_TABLESPACE
self.meta = meta
self.pk = None
- self.has_auto_field, self.auto_field = False, None
+ self.has_auto_field = False
+ self.auto_field = None
self.abstract = False
self.managed = True
self.proxy = False

0 comments on commit 75220d3

Please sign in to comment.