Ticket #3105: __init__.py.diff

File __init__.py.diff, 1.2 KB (added by Eric Van Dewoestine <ervandew@…>, 18 years ago)

django/db/models/fields/init.py.diff

Line 
1*** __init__.py Wed Dec 6 08:58:24 2006
2--- __init__.py.new Wed Dec 6 08:58:21 2006
3***************
4*** 69,75 ****
5 core=False, rel=None, default=NOT_PROVIDED, editable=True,
6 prepopulate_from=None, unique_for_date=None, unique_for_month=None,
7 unique_for_year=None, validator_list=None, choices=None, radio_admin=None,
8! help_text='', db_column=None):
9 self.name = name
10 self.verbose_name = verbose_name
11 self.primary_key = primary_key
12--- 69,75 ----
13 core=False, rel=None, default=NOT_PROVIDED, editable=True,
14 prepopulate_from=None, unique_for_date=None, unique_for_month=None,
15 unique_for_year=None, validator_list=None, choices=None, radio_admin=None,
16! help_text='', db_column=None, update=True):
17 self.name = name
18 self.verbose_name = verbose_name
19 self.primary_key = primary_key
20***************
21*** 85,90 ****
22--- 85,91 ----
23 self.radio_admin = radio_admin
24 self.help_text = help_text
25 self.db_column = db_column
26+ self.update = update
27
28 # Set db_index to True if the field has a relationship and doesn't explicitly set db_index.
29 self.db_index = db_index
Back to Top