Did I find the right examples for you? yes no

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

src/p/y/pythondotorg-HEAD/minutes/management/commands/move_meeting_notes.py   pythondotorg(Download)
 
from pages.models import Page
from ...models import Minutes
 
 
                m = Minutes.objects.get(date=date)
            except Minutes.DoesNotExist:
                m = Minutes(date=date)
 
            m.content = p.content

src/p/y/pythondotorg-HEAD/minutes/views.py   pythondotorg(Download)
from django.core.exceptions import ObjectDoesNotExist
from django.http import Http404
from django.views.generic import DetailView, ListView
 
from .models import Minutes

src/p/y/pythondotorg-HEAD/minutes/admin.py   pythondotorg(Download)
from django.contrib import admin
 
from .models import Minutes
from cms.admin import ContentManageableModelAdmin
 

src/p/y/pythondotorg-HEAD/minutes/tests/test_views.py   pythondotorg(Download)
from django.test import TestCase
 
from ..models import Minutes
 
User = get_user_model()

src/p/y/pythondotorg-HEAD/minutes/tests/test_models.py   pythondotorg(Download)
import datetime
 
from django.test import TestCase
 
from ..models import Minutes