def countries(self, *args, **kwargs):
        return super(GeonameManager, self).filter(fcode__in=['PCLI']).filter(*args, **kwargs)
Filter returns only countries
dataset/ETHPy150Open ramusus/django-geonames/geonames/models.py/GeonameManager.countries