Did I find the right examples for you? yes no

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

src/d/j/django-lfs-0.7.7/lfs/manage/views/export.py   django-lfs(Download)
from lfs.export.models import CategoryOption
from lfs.export.settings import CATEGORY_VARIANTS_CHOICES
from lfs.export.settings import CATEGORY_VARIANTS_NONE
 
 
        category_option = None
 
    if variants_option == CATEGORY_VARIANTS_NONE:
        if category_option:
            category_option.delete()

src/d/j/django-lfs-HEAD/lfs/manage/views/export.py   django-lfs(Download)
from lfs.export.models import CategoryOption
from lfs.export.settings import CATEGORY_VARIANTS_CHOICES
from lfs.export.settings import CATEGORY_VARIANTS_NONE
 
 
        category_option = None
 
    if variants_option == CATEGORY_VARIANTS_NONE:
        if category_option:
            category_option.delete()

src/l/f/lfs-HEAD/manage/views/export.py   lfs(Download)
from lfs.export.models import CategoryOption
from lfs.export.settings import CATEGORY_VARIANTS_CHOICES
from lfs.export.settings import CATEGORY_VARIANTS_NONE
 
class ExportDataForm(ModelForm):
        category_option = None
 
    if variants_option == CATEGORY_VARIANTS_NONE:
        if category_option:
            category_option.delete()