Did I find the right examples for you? yes no

All Samples(36)  |  Call(36)  |  Derive(0)  |  Import(0)

src/l/f/lfs-HEAD/manage/views/categories/category.py   lfs(Download)
    """
    categories = [("", "-")]
    for category in Category.objects.filter(parent = None):        
        if context != category:        
            categories.append((category.id, category.name))

src/d/j/django-lfs-0.7.7/lfs/manage/categories/category.py   django-lfs(Download)
    """
    categories = [("", "-")]
    for category in Category.objects.filter(parent=None):
        if context != category:
            categories.append((category.id, category.name))

src/d/j/django-lfs-HEAD/lfs/manage/categories/category.py   django-lfs(Download)
    """
    categories = [("", "-")]
    for category in Category.objects.filter(parent=None):
        if context != category:
            categories.append((category.id, category.name))

src/d/j/django-lfs-0.7.7/lfs/manage/views/export.py   django-lfs(Download)
 
    categories = []
    for category in Category.objects.filter(parent=None):
 
        # Options
 
    categories = []
    for category in Category.objects.filter(parent=category_id):
 
        # Options

src/d/j/django-lfs-0.7.7/lfs/manage/manufacturers/views.py   django-lfs(Download)
 
    categories = []
    for category in Category.objects.filter(parent=None):
 
        # Checking state
 
    categories = []
    for category in Category.objects.filter(parent=category_id):
 
        checked, klass = _get_category_state(manufacturer, category)

src/d/j/django-lfs-HEAD/lfs/manage/views/export.py   django-lfs(Download)
 
    categories = []
    for category in Category.objects.filter(parent=None):
 
        # Options
 
    categories = []
    for category in Category.objects.filter(parent=category_id):
 
        # Options

src/d/j/django-lfs-HEAD/lfs/manage/manufacturers/views.py   django-lfs(Download)
 
    categories = []
    for category in Category.objects.filter(parent=None):
 
        # Checking state
 
    categories = []
    for category in Category.objects.filter(parent=category_id):
 
        checked, klass = _get_category_state(manufacturer, category)

src/d/j/django-lfs-0.7.7/lfs/core/utils.py   django-lfs(Download)
        level = 0
        categories = []
        for category in Category.objects.filter(level=self.start_level):
 
            if category.exclude_from_navigation:
    def _get_sub_tree(self, category, level):
        categories = []
        for category in Category.objects.filter(parent=category):
 
            if category.exclude_from_navigation:

src/d/j/django-lfs-HEAD/lfs/core/utils.py   django-lfs(Download)
        level = 0
        categories = []
        for category in Category.objects.filter(level=self.start_level):
 
            if category.exclude_from_navigation:
    def _get_sub_tree(self, category, level):
        from lfs.catalog.models import Category
        categories = []
        for category in Category.objects.filter(parent=category):
 

src/l/f/lfs-HEAD/manage/views/export.py   lfs(Download)
 
    categories = []
    for category in Category.objects.filter(parent=None):
 
        # Options
 
    categories = []
    for category in Category.objects.filter(parent=category_id):
 
        # Options

  1 | 2 | 3  Next