Did I find the right examples for you? yes no

All Samples(5)  |  Call(1)  |  Derive(0)  |  Import(4)

src/d/j/django-user-tags-1.1/user_tags/forms.py   django-user-tags(Download)
from django.contrib.contenttypes.models import ContentType
 
from user_tags.models import UserTagGroup, UserTag, TaggedItem
 
 
                user_tag = UserTag.objects.get(user_tag_group=group, text=tag)
            except UserTag.DoesNotExist:
                user_tag = UserTag(user_tag_group=group, text=tag)
                user_tag.save()
            tagged_item.user_tags.add(user_tag)

src/d/j/django-user-tags-1.1/user_tags/admin.py   django-user-tags(Download)
"""Admin classes for the ``user_tags`` app."""
from django.contrib import admin
 
from user_tags.models import TaggedItem, UserTag, UserTagGroup
 

src/d/j/django-user-tags-1.1/user_tags/tests/forms_tests.py   django-user-tags(Download)
 
from user_tags.tests.test_app.forms import DummyModelForm
from user_tags.models import TaggedItem, UserTag, UserTagGroup
 
 

src/d/j/django-user-tags-1.1/user_tags/tests/factories.py   django-user-tags(Download)
from django_libs.tests.factories import UserFactory
 
from user_tags.models import TaggedItem, UserTag, UserTagGroup
from user_tags.tests.test_app.models import DummyModel