Did I find the right examples for you? yes no

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

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/logilab/common/pytest.py   modern-python-example(Download)
 
try:
    import django
    from logilab.common.modutils import modpath_from_file, load_module_from_modpath
    DJANGO_FOUND = True

src/s/h/shareabouts-api-HEAD/libs/django-rest-framework-0.4/examples/settings.py   shareabouts-api(Download)
# Settings for djangorestframework examples project
import django
import os
 
DEBUG = True

src/d/j/django-like-HEAD/example/example/settings/postgres.py   django-like(Download)
DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2'
 
import django
 
if django.VERSION[0] == 1 and django.VERSION[1] <= 1:

src/d/j/django-like-HEAD/example/example/settings/mysql.py   django-like(Download)
DATABASES['default']['ENGINE'] = 'django.db.backends.mysql'
 
import django
 
if django.VERSION[0] == 1 and django.VERSION[1] <= 1:

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

src/d/j/django-guardian-HEAD/example_project/settings.py   django-guardian(Download)
import django
import os
import sys
 
from django.conf import global_settings

src/d/j/django-guardian-HEAD/example_project/manage.py   django-guardian(Download)
#!/usr/bin/env python
import django
import os
import sys
 

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

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/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

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