Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/d/j/django-orm-2.0.5/django_orm/gis/manager.py   django-orm(Download)
# -*- coding: utf-8 -*-
 
from django_orm.postgresql.fts.mixin import SearchManagerMixIn
from django.contrib.gis.db import manager
 
class GeoManager(manager.GeoManager):
    use_for_related_fields = True
 
class FtsGeoManager(SearchManagerMixIn, manager.GeoManager):

src/d/j/django-orm-2.0.5/django_orm/manager.py   django-orm(Download)
from django.db.models import signals
 
from django_orm.postgresql.fts.mixin import SearchManagerMixIn
from django_orm.cache.invalidator import invalidate_object
 
class FtsManager(SearchManagerMixIn, ManagerMixIn, models.Manager):
    """ Manager with postgresql full text search mixin. """
    use_for_related_fields = True