Commit 576d93a0 by Bach Dániel

fabfile: use --fake-initial option

parent 3fd035e7
...@@ -356,8 +356,6 @@ class HumanSortField(CharField): ...@@ -356,8 +356,6 @@ class HumanSortField(CharField):
Code is based on carljm's django-model-utils. Code is based on carljm's django-model-utils.
""" """
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
logger.debug('Initing HumanSortField(%s %s)',
unicode(args), unicode(kwargs))
kwargs.setdefault('default', "") kwargs.setdefault('default', "")
self.maximum_number_length = kwargs.pop('maximum_number_length', 4) self.maximum_number_length = kwargs.pop('maximum_number_length', 4)
monitor = kwargs.pop('monitor', None) monitor = kwargs.pop('monitor', None)
......
...@@ -75,7 +75,7 @@ def flake8(): ...@@ -75,7 +75,7 @@ def flake8():
def migrate(): def migrate():
"Run db migrations" "Run db migrations"
with _workon("circle"), cd("~/circle/circle"): with _workon("circle"), cd("~/circle/circle"):
run("./manage.py migrate") run("./manage.py migrate --fake-initial")
@roles('portal') @roles('portal')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment