Did I find the right examples for you? yes no

All Samples(84)  |  Call(0)  |  Derive(0)  |  Import(84)
South - Useable migrations for Django apps

src/a/r/armstrong.core.arm_content-1.3.5/armstrong/core/arm_content/tests/fields/video.py   armstrong.core.arm_content(Download)
 
try:
    import south
except ImportError:
    south = False

src/a/r/armstrong.core.arm_content-1.3.5/armstrong/core/arm_content/tests/fields/authors.py   armstrong.core.arm_content(Download)
import fudge
try:
    import south
except ImportError:
    south = False

src/d/j/DjangoSEO-1.0/regressiontests/settings.py   DjangoSEO(Download)
# If south is available, add it
try:
    import south
    INSTALLED_APPS.append('south')
except ImportError:

src/d/j/django-hudson-0.9.1/django_hudson/management/commands/xmltest.py   django-hudson(Download)
 
try:
    import south
    try:
        from south.management.commands import patch_for_test_db_setup

src/d/j/django-payfast-0.2.2/payfast_tests/settings.py   django-payfast(Download)
# test migrations if South is available
try:
    import south
    if 'south' not in INSTALLED_APPS:
        INSTALLED_APPS += ['south']

src/d/j/django-netcash-0.4.2/netcash_tests/settings.py   django-netcash(Download)
# test migrations if South is available
try:
    import south
    if 'south' not in INSTALLED_APPS:
        INSTALLED_APPS += ['south']

src/d/j/django-vkontakte-merchant-0.1/merchant_api_tests/settings.py   django-vkontakte-merchant(Download)
# test migrations if South is available
try:
    import south
    if 'south' not in INSTALLED_APPS:
        INSTALLED_APPS += ['south']

src/s/e/semantic_version-2.3.0/tests/test_django.py   semantic_version(Download)
 
try:  # pragma: no cover
    import south
    import south.creator.freezer
    import south.modelsinspector

src/d/j/django-remotestorage-13.08.0/django_remotestorage/settings_base.py   django-remotestorage(Download)
 
## "south" app is not strictly required, unless you need migrations.
try: import south
except ImportError: pass
else: updates['INSTALLED_APPS'].append('south')

src/d/j/django-mutant-0.1.2/mutant/contrib/text/tests.py   django-mutant(Download)
from django.db.utils import DatabaseError
from django.utils.translation import ugettext_lazy as _
import south
 
from mutant.test.testcases import FieldDefinitionTestMixin

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