Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
576d93a0
authored
May 21, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fabfile: use --fake-initial option
parent
3fd035e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
circle/common/models.py
+0
-2
circle/fabfile.py
+1
-1
No files found.
circle/common/models.py
View file @
576d93a0
...
...
@@ -356,8 +356,6 @@ class HumanSortField(CharField):
Code is based on carljm's django-model-utils.
"""
def
__init__
(
self
,
*
args
,
**
kwargs
):
logger
.
debug
(
'Initing HumanSortField(
%
s
%
s)'
,
unicode
(
args
),
unicode
(
kwargs
))
kwargs
.
setdefault
(
'default'
,
""
)
self
.
maximum_number_length
=
kwargs
.
pop
(
'maximum_number_length'
,
4
)
monitor
=
kwargs
.
pop
(
'monitor'
,
None
)
...
...
circle/fabfile.py
View file @
576d93a0
...
...
@@ -75,7 +75,7 @@ def flake8():
def
migrate
():
"Run db migrations"
with
_workon
(
"circle"
),
cd
(
"~/circle/circle"
):
run
(
"./manage.py migrate"
)
run
(
"./manage.py migrate
--fake-initial
"
)
@roles
(
'portal'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment