Did I find the right examples for you? yes no

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

src/h/u/hunch-sample-app-HEAD/django/utils/version.py   hunch-sample-app(Download)
import django
import os.path
import re
 
def get_svn_revision(path=None):

src/d/j/django-categories-HEAD/example/settings.py   django-categories(Download)
# Django settings for sample project.
import os
import sys
import django
 

src/c/e/celery-HEAD/examples/celery_http_gateway/settings.py   celery(Download)
# Django settings for celery_http_gateway project.
 
import django
 
DEBUG = True

src/d/j/django-angular-HEAD/examples/server/tests/test_validation.py   django-angular(Download)
# -*- coding: utf-8 -*-
import django
from django.test import TestCase
from pyquery.pyquery import PyQuery
from server.forms import SubscriptionFormWithNgValidation, SubscriptionFormWithNgValidationAndModel

src/d/j/django-multiselectfield-HEAD/example/example/settings.py   django-multiselectfield(Download)
}
 
import django
 
if django.VERSION[0] >= 1 and django.VERSION[1] >= 4:

src/b/e/BeAT-HEAD/docs/example-settings/settings-sqlite3.py   BeAT(Download)
#<begin django relative paths trick>
import os
import django
# calculated paths for django and the site
# used as starting points for various other paths

src/b/e/BeAT-HEAD/docs/example-settings/settings-postgresql.py   BeAT(Download)
#<begin django relative paths trick>
import os
import django
# calculated paths for django and the site
# used as starting points for various other paths

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/d/j/django-sliding-paginator-HEAD/tests/example_project/settings/base.py   django-sliding-paginator(Download)
# -*- coding: utf-8 -*-
 
from os.path import dirname, join
 
import django

src/d/j/django-shop-HEAD/example/settings.py   django-shop(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')

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