| Conditions | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from django.contrib.admin import ModelAdmin |
||
| 26 | def __init__(self, *args, **kwargs): |
||
| 27 | """Initializes a new instance of :see:LocalizedFieldsAdminMixin.""" |
||
| 28 | |||
| 29 | super(LocalizedFieldsAdminMixin, self).__init__(*args, **kwargs) |
||
| 30 | overrides = FORMFIELD_FOR_LOCALIZED_FIELDS_DEFAULTS.copy() |
||
| 31 | overrides.update(self.formfield_overrides) |
||
| 32 | self.formfield_overrides = overrides |
||
| 33 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.