Commit 09b7922a2918e9a65b6dad5770de9fdd59d82d9d
1 parent
ef7db1284b
Exists in
master
oops
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
flashcards/fields.py
View file @
09b7922
... | ... | @@ -7,8 +7,8 @@ |
7 | 7 | self.range_sep = range_sep |
8 | 8 | super(MaskField, self).__init__(*args, **kwargs) |
9 | 9 | |
10 | - @static | |
11 | - def _using_array(self, connection): | |
10 | + @staticmethod | |
11 | + def _using_array(connection): | |
12 | 12 | return connection.settings_dict['ENGINE'] == 'django.db.backends.postgresql_psycopg2' |
13 | 13 | |
14 | 14 | def deconstruct(self): |