| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 6 | ||
| Bugs | 0 | Features | 0 |
| 1 | 1 | from psqlextra.models import PostgresModel |
|
| 6 | 1 | class LocalizedModel(AtomicSlugRetryMixin, PostgresModel): |
|
| 7 | """Turns a model into a model that contains LocalizedField's. |
||
| 8 | |||
| 9 | For basic localisation functionality, it isn't needed to inherit |
||
| 10 | from LocalizedModel. However, for certain features, this is required. |
||
| 11 | |||
| 12 | It is definitely needed for :see:LocalizedUniqueSlugField, unless you |
||
| 13 | manually inherit from AtomicSlugRetryMixin.""" |
||
| 14 | |||
| 15 | 1 | class Meta: |
|
| 16 | abstract = True |
||
| 17 |
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.