Did I find the right examples for you? yes no

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

src/a/m/amaterasu-HEAD/amaterasu/apps/core/admin.py   amaterasu(Download)
from django.contrib import admin
from models import Mailbox, Alias, Domain, PdnsDomains, Records, Language, Plan, ClientProfile
 
class MailboxAdmin(admin.ModelAdmin):
    list_display = ('username', 'name', 'created', 'modified', 'active')

src/a/m/amaterasu-HEAD/amaterasu/apps/core/views.py   amaterasu(Download)
from django.http import HttpResponseRedirect
from pprint import pprint
from models import Plan, ClientProfile, Domain, Mailbox, Records
from forms import ClientProfileForm, DomainForm, MailboxForm, RecordForm
 

src/d/j/django-orchestra-HEAD/orchestra/apps/users/roles/mail/admin.py   django-orchestra(Download)
 
from .forms import MailRoleAdminForm
from .models import Mailbox, Address, Autoresponse
 
 

src/a/m/amaterasu-HEAD/amaterasu/apps/core/forms.py   amaterasu(Download)
from django import forms
from django.contrib.auth.forms import UserChangeForm
from models import ClientProfile, Domain, Mailbox, Records
 
class SearchForm(forms.Form):

src/d/j/django-orchestra-HEAD/orchestra/apps/users/roles/mail/serializers.py   django-orchestra(Download)
from orchestra.apps.accounts.serializers import AccountSerializerMixin
 
from .models import Address, Mailbox
 
 

src/d/j/django-orchestra-HEAD/orchestra/apps/users/roles/mail/api.py   django-orchestra(Download)
from orchestra.apps.accounts.api import AccountApiMixin
 
from .models import Address, Mailbox
from .serializers import AddressSerializer, MailboxSerializer
 

src/d/j/django-orchestra-HEAD/orchestra/apps/users/roles/mail/validators.py   django-orchestra(Download)
def validate_sieve(value):
    from .models import Mailbox
    sieve_name = '%s.sieve' % hashlib.md5(value).hexdigest()
    path = os.path.join(settings.EMAILS_SIEVETEST_PATH, sieve_name)
    with open(path, 'wb') as f:

src/d/j/django-orchestra-HEAD/orchestra/apps/users/roles/mail/forms.py   django-orchestra(Download)
from orchestra.forms.widgets import ReadOnlyWidget
 
from .models import Mailbox
from ..forms import RoleAdminBaseForm