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/o/s/osqa-HEAD/forum/management/commands/checkinstall.py   osqa(Download)
 
        try:
            import south
            version = re.findall('\d+', south.__version__)
 

src/d/j/django-fabtastic-1.1/fabtastic/fabric/commands/__init__.py   django-fabtastic(Download)
 
try:
    import south
    from fabtastic.fabric.commands.c_south import *
except ImportError:

src/e/v/evennia-HEAD/src/utils/utils.py   evennia(Download)
    # South
    try:
        import south
        sversion = south.__version__
        if sversion < south_min:

src/d/j/django-fabtastic-HEAD/fabtastic/fabric/commands/__init__.py   django-fabtastic(Download)
 
try:
    import south
    from fabtastic.fabric.commands.c_south import *
except ImportError:

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

src/a/l/aldryn-installer-0.1.1/aldryn_installer/django/__init__.py   aldryn-installer(Download)
def setup_database(config_data):
    with chdir(config_data.project_directory):
        try:
            import south
            subprocess.check_call(["python", "-W", "ignore",

src/d/j/django-threadedcomments-0.9.0/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-newsletter-0.5.1/newsletter/migrations/0001_initial.py   django-newsletter(Download)
# -*- coding: utf-8 -*-
import datetime
import south
from south.db import db
from south.v2 import SchemaMigration

src/d/j/djangocms-installer-0.4.2/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-pgfields-1.4.3/django_pg/utils/south.py   django-pgfields(Download)
from __future__ import absolute_import, unicode_literals
 
 
try:
    import south

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