Did I find the right examples for you? yes no

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

src/d/j/django-categories-1.1.4/doc_src/code_examples/custom_categories4.py   django-categories(Download)
def save(self, *args, **kwargs):
    if self.thumbnail:
        from django.core.files.images import get_image_dimensions
        import django
        if django.VERSION[1] < 2:

src/g/c/gchecky-0.2.1/samples/django/gchecky_common/models.py   gchecky(Download)
    introduced in version Django-0.97.
    """
    import django
    if django.VERSION[0] >= 0 and django.VERSION[1] >= 97:
        # The new version of django does not allow max_digits and decimal_places

src/d/j/djangomarkup-0.1.8/tests/example_project/settings/base.py   djangomarkup(Download)
# -*- coding: utf-8 -*-
 
from os.path import dirname, join
 
import django

src/f/a/fapws2-HEAD/sample/django_wiki/run.py   fapws2(Download)
from fapws2.contrib import django_handler
from fapws2.contrib import views, log, zip
import django
 
def start():

src/f/a/fapws3-HEAD/sample/django/run.py   fapws3(Download)
 
from fapws.contrib import django_handler, views
import django
 
print 'start on', (options.host, options.port)

src/b/l/Blogmaker-0.6/examples/myblog/settings.py   Blogmaker(Download)
# Django settings for farmdev_blogmaker project.
import os, django, inspect
 
DEBUG = True
TEMPLATE_DEBUG = DEBUG

src/g/o/google-app-engine-HEAD/google/appengine/_internal/django/core/management/commands/runserver.py   google-app-engine(Download)
    def handle(self, addrport='', *args, **options):
        import django
        from google.appengine._internal.django.core.servers.basehttp import run, AdminMediaHandler, WSGIServerException
        from google.appengine._internal.django.core.handlers.wsgi import WSGIHandler
        if args:

src/g/o/google-app-engine-HEAD/google/appengine/_internal/django/core/management/commands/makemessages.py   google-app-engine(Download)
    contents of a newly created .po file.
    """
    import django
    django_dir = os.path.normpath(os.path.join(os.path.dirname(django.__file__)))
    if domain == 'djangojs':

src/g/o/google-app-engine-HEAD/lib/django-1.4/django/core/management/commands/makemessages.py   google-app-engine(Download)
from subprocess import PIPE, Popen
 
import django
from django.core.management.base import CommandError, NoArgsCommand
from django.utils.text import get_text_list

src/g/o/google-app-engine-HEAD/lib/django-1.3/django/core/management/commands/makemessages.py   google-app-engine(Download)
    contents of a newly created .po file.
    """
    import django
    django_dir = os.path.normpath(os.path.join(os.path.dirname(django.__file__)))
    if domain == 'djangojs':

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next