Did I find the right examples for you? yes no

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

src/v/i/viewpoint-0.9.8/viewpoint/admin.py   viewpoint(Download)
from viewpoint.settings import (USE_APPROVAL, AUTHOR_MODEL,
                                BLOG_RELATION_MODELS, ENTRY_RELATION_MODELS)
from models import Blog, Entry, HAS_CATEGORIES, HAS_TAGGING
from forms import BlogForm, EntryForm
 
        }),
    )
    if HAS_CATEGORIES:
        fieldsets[-1][1]['fields'] += ('category',)
 
EXTRA_FIELDS = ()
 
if HAS_CATEGORIES:
    EXTRA_FIELDS += ('category',)
 

src/d/j/django-viewpoint-HEAD/viewpoint/admin.py   django-viewpoint(Download)
from viewpoint.settings import (USE_APPROVAL, AUTHOR_MODEL, 
                                BLOG_RELATION_MODELS, ENTRY_RELATION_MODELS)
from models import Blog, Entry, HAS_CATEGORIES, HAS_TAGGING
from forms import BlogForm, EntryForm
 
        }),
    )
    if HAS_CATEGORIES:
        fieldsets[-1][1]['fields'] += ('category',)
 
EXTRA_FIELDS = ()
 
if HAS_CATEGORIES:
    EXTRA_FIELDS += ('category',)