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/e/v/evennia-HEAD/src/settings_default.py   evennia(Download)
# updates
try:
    import south
    INSTALLED_APPS = INSTALLED_APPS + ('south',)
except ImportError:

src/e/v/evennia-HEAD/game/evennia.py   evennia(Download)
    import django
    try:
        import south
        sversion = "South %s" % south.__version__
    except ImportError:

src/d/j/django-threadedcomments-HEAD/threadedcomments/migrations/0002_set__last_child_id__on_delete__set_null.py   django-threadedcomments(Download)
# -*- coding: utf-8 -*-
import datetime
import south
from south.db import db
from south.v2 import SchemaMigration

src/d/j/django-filer-HEAD/filer/migrations/0001_initial.py   django-filer(Download)
# -*- coding: utf-8 -*-
import datetime
import south
from south.db import db
from south.v2 import SchemaMigration

src/s/e/semantic_version-2.3.0/semantic_version/django_fields.py   semantic_version(Download)
 
try:  # pragma: no cover
    import south
except ImportError: # pragma: no cover
    south = None

src/d/j/django-pgfields-HEAD/django_pg/utils/south.py   django-pgfields(Download)
from __future__ import absolute_import, unicode_literals
 
 
try:
    import south

src/l/f/lflux-HEAD/lfluxproject/ltools/fields.py   lflux(Download)
 
try:
    import south
    import south.modelsinspector
    south.modelsinspector.add_introspection_rules([], ["^ltools\.fields\.CountryField"])

src/d/j/djangocms-installer-HEAD/djangocms_installer/django/__init__.py   djangocms-installer(Download)
            '{0}.settings'.format(config_data.project_name))
        try:
            import south
            subprocess.check_call([sys.executable, "-W", "ignore",
                                   "manage.py", "syncdb", "--all", "--noinput"])

src/d/j/django-notifier-HEAD/demo/demo/settings.py   django-notifier(Download)
# Is South installed?
try:
    import south
    South = True
except ImportError:

src/p/y/python-semanticversion-HEAD/semantic_version/django_fields.py   python-semanticversion(Download)
 
try:  # pragma: no cover
    import south
except ImportError: # pragma: no cover
    south = None

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