Did I find the right examples for you? yes no

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

src/d/j/django-activitystreams-HEAD/examples/module_use/urls.py   django-activitystreams(Download)
import os
 
import django
from django.conf.urls.defaults import patterns, url, include, handler500, handler404
from django.contrib import admin

src/z/a/zato-django-integration-HEAD/sampleapp/src/manage.py   zato-django-integration(Download)
 
# Django
import django
from django.core.handlers.wsgi import WSGIHandler
 

src/d/j/django-openid-auth-0.5/example_consumer/settings.py   django-openid-auth(Download)
 
# Django settings for example project.
import django
django_version = django.get_version()
DEBUG = True

src/d/j/django-stories-HEAD/example/settings.py   django-stories(Download)
)
 
import django
# Little hack for static files
if django.VERSION[1] > 2:

src/d/j/django-shop-discounts-HEAD/example/settings.py   django-shop-discounts(Download)
        ]
 
import django # A quick and very dirty test to see if it's 1.3 yet...
if django.VERSION[0] < 1 or django.VERSION[1] < 3:
    MIDDLEWARE_CLASSES.append('cbv.middleware.DeferredRenderingMiddleware')

src/d/j/django-flickrsets-HEAD/flickrsets_example/settings.py   django-flickrsets(Download)
"""
import os
import django
 
# Own constants

src/a/p/appscale-HEAD/AppServer/google/appengine/_internal/django/core/management/commands/runserver.py   appscale(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/a/p/appscale-HEAD/AppServer/google/appengine/_internal/django/core/management/commands/makemessages.py   appscale(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/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/django/core/management/commands/makemessages.py   antisocial(Download)
from optparse import make_option
 
import django
from django.core.management.base import CommandError, NoArgsCommand
from django.core.management.utils import (handle_extensions, find_command,

src/n/e/neutron-drive-HEAD/google_appengine/google/appengine/_internal/django/core/management/commands/runserver.py   neutron-drive(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:

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