Did I find the right examples for you? yes no

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

src/h/u/hue-HEAD/desktop/core/ext-py/django-openid-auth-0.5/example_consumer/settings.py   hue(Download)
 
# Django settings for example project.
import django
django_version = django.get_version()
DEBUG = True

src/d/j/django-hotsauce-0.5.0/examples/lib/satchmo_store/shop/management/commands/satchmo_check.py   Django-hotsauce(Download)
from django.core.management.base import NoArgsCommand
from django.core import urlresolvers
import sys
import django
from decimal import Decimal

src/h/u/hunch-sample-app-HEAD/django/core/management/commands/makemessages.py   hunch-sample-app(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/d/j/django-datatable-view-0.7.0/datatableview/tests/example_project/example_project/example_app/views.py   django-datatable-view(Download)
from os import sep
import os.path
import re
 
import django

src/d/j/django-datatable-view-HEAD/datatableview/tests/example_project/example_project/example_app/views.py   django-datatable-view(Download)
from os import sep
import os.path
import re
 
import django

src/d/j/django-categories-1.2.2/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/h/u/hunch-sample-app-HEAD/django/core/servers/basehttp.py   hunch-sample-app(Download)
    def get_media_dir(self):
        import django
        return os.path.join(django.__path__[0], 'contrib', 'admin', 'media')
 
    def get_media_url(self):

src/h/u/hunch-sample-app-HEAD/django/core/management/__init__.py   hunch-sample-app(Download)
import imp
 
import django
from django.core.management.base import BaseCommand, CommandError, handle_default_options
from django.utils.importlib import import_module

src/h/u/hunch-sample-app-HEAD/django/core/management/base.py   hunch-sample-app(Download)
from optparse import make_option, OptionParser
 
import django
from django.core.exceptions import ImproperlyConfigured
from django.core.management.color import color_style

src/d/j/django-categories-HEAD/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:

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