Did I find the right examples for you? yes no

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

src/c/o/colab-HEAD/colab/apps/flag/admin.py   colab(Download)
from django.contrib import admin
from flag.models import FlaggedContent, FlagInstance
 
class InlineFlagInstance(admin.TabularInline):
    model = FlagInstance

src/m/y/mycogia.com-HEAD/apps/flag/admin.py   mycogia.com(Download)
from django.contrib import admin
from flag.models import FlaggedContent, FlagInstance
 
class InlineFlagInstance(admin.TabularInline):
    model = FlagInstance

src/d/j/django-flag-0.1.1/flag/admin.py   django-flag(Download)
from django.contrib import admin
from flag.models import FlaggedContent, FlagInstance
 
class InlineFlagInstance(admin.TabularInline):
    model = FlagInstance

src/d/j/django-flag-HEAD/flag/admin.py   django-flag(Download)
from django.contrib import admin
 
from flag.models import FlaggedContent, FlagInstance
 
 

src/c/l/clusterify-HEAD/flag/admin.py   clusterify(Download)
from django.contrib import admin
from flag.models import FlaggedContent, FlagInstance
 
class InlineFlagInstance(admin.TabularInline):
    model = FlagInstance

src/d/j/django-trust-0.2/trust/models.py   django-trust(Download)
# Check if django-flag is installed and install receivers to requeue an item if it has been flagged
if "flag" in settings.INSTALLED_APPS:
    from flag.models import FlaggedContent
 
    @receiver(post_save, sender=FlaggedContent)

src/d/j/django-trust-HEAD/trust/models.py   django-trust(Download)
# Check if django-flag is installed and install receivers to requeue an item if it has been flagged
if "flag" in settings.INSTALLED_APPS:
    from flag.models import FlaggedContent
 
    @receiver(post_save, sender=FlaggedContent)