Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(29)  |  Call(9)  |  Derive(0)  |  Import(20)

src/d/a/daisyproducer-HEAD/documents/test/functional/browse.py   daisyproducer(Download)
from daisyproducer.documents.models import Document, Version
from daisyproducer.documents.versionHelper import XMLContent
from django.conf import settings
from django.contrib.auth.models import User
from django.core.files.base import ContentFile
 
        user = User.objects.get(pk=1)
        self.document = Document(title="A Title", author="An Author", language="de")
        self.document.save()
        contentString  = XMLContent.getInitialContent(self.document)

src/d/a/daisyproducer-HEAD/documents/test/unit/document.py   daisyproducer(Download)
from django.test import TestCase
from daisyproducer.documents.models import Document
 
class DocumentTestCase(TestCase):
 
    def testUnicode(self):
        d = Document(title='foo', publisher='bar', identifier='baz')

src/d/a/daisyproducer-HEAD/documents/views/todo.py   daisyproducer(Download)
import shutil, tempfile, os.path
 
from daisyproducer.documents.external import DaisyPipeline, SBSForm, StandardLargePrint, zipDirectory, Pipeline2
from daisyproducer.documents.forms import PartialDocumentForm, PartialVersionForm, PartialAttachmentForm, PartialImageForm, OCRForm, MarkupForm, SBSFormForm, RTFForm, EPUBForm, TextOnlyDTBForm, DTBForm, SalePDFForm, ODTForm
from daisyproducer.documents.models import Document, Version, Attachment, Image, Product, LargePrintProfileForm

src/d/a/daisyproducer-HEAD/documents/admin.py   daisyproducer(Download)
from daisyproducer.documents.models import Document, Version, Attachment, Image, Product, State
from django.contrib import admin
 
 
class VersionInline(admin.TabularInline):

src/d/a/daisyproducer-HEAD/documents/forms.py   daisyproducer(Download)
from daisyproducer.documents.external import DaisyPipeline
from daisyproducer.documents.models import Document, Version, Attachment, LargePrintProfile, Image
from daisyproducer.documents.versionHelper import XMLContent
from django import forms
from django.core.files.base import ContentFile

src/d/a/daisyproducer-HEAD/abacus_import/management/commands/importABACUS.py   daisyproducer(Download)
# coding=utf-8
from daisyproducer.documents.external import DaisyPipeline
from daisyproducer.documents.models import Document, Version, Product, State
from daisyproducer.documents.versionHelper import XMLContent
from django.conf import settings

src/d/a/daisyproducer-HEAD/documents/views/browse.py   daisyproducer(Download)
from daisyproducer.documents.external import DaisyPipeline, Liblouis, SBSForm, zipDirectory
from daisyproducer.documents.forms import SBSFormForm, RTFForm, XHTMLForm, EPUBForm, TextOnlyDTBForm, DTBForm
from daisyproducer.documents.models import State, Document, BrailleProfileForm, LargePrintProfileForm
from daisyproducer.documents.views.utils import render_to_mimetype_response
from django.core.urlresolvers import reverse

src/d/a/daisyproducer-HEAD/abacus_import/management/commands/importProductData.py   daisyproducer(Download)
from daisyproducer.documents.models import Document, Version, Product
from daisyproducer.abacus_import.management.commands.importABACUS import get_type, get_documents_by_product_number, get_documents_by_source_or_title_source_edition
from django.core.management.base import BaseCommand, CommandError
from django.db import transaction
from optparse import make_option

src/d/a/daisyproducer-HEAD/documents/views/manage.py   daisyproducer(Download)
import csv, codecs, re
 
from daisyproducer.documents.forms import CSVUploadForm, PartialProductForm
from daisyproducer.documents.models import Document, Version, Product
from daisyproducer.documents.versionHelper import XMLContent

src/d/a/daisyproducer-HEAD/documents/management/commands/exportXMLContent.py   daisyproducer(Download)
from daisyproducer.documents.models import Document, Version
from django.core.management.base import BaseCommand, CommandError
from optparse import make_option
from os.path import join
from shutil import copyfile

  1 | 2  Next