Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
JoinTheCity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafal
JoinTheCity
Commits
9aaa8d05
Commit
9aaa8d05
authored
Jan 11, 2016
by
Rafal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try remove arguments
parent
38809256
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
14 deletions
+1
-14
init.py
JoinTheCityREST/app/User/management/commands/init.py
+1
-1
init_relationships.py
...tyREST/app/User/management/commands/init_relationships.py
+0
-3
init_userapi.py
JoinTheCityREST/app/User/management/commands/init_userapi.py
+0
-4
init_userevents.py
...eCityREST/app/User/management/commands/init_userevents.py
+0
-3
init_users.py
JoinTheCityREST/app/User/management/commands/init_users.py
+0
-3
No files found.
JoinTheCityREST/app/User/management/commands/init.py
View file @
9aaa8d05
...
...
@@ -6,7 +6,7 @@ from django.core.management.base import BaseCommand, CommandError
class
Command
(
BaseCommand
):
help
=
''
def
handle
(
self
):
def
handle
(
self
,
*
args
,
**
options
):
call_command
(
'init_users'
)
call_command
(
'init_localizations'
)
call_command
(
'init_tags'
)
...
...
JoinTheCityREST/app/User/management/commands/init_relationships.py
View file @
9aaa8d05
...
...
@@ -8,9 +8,6 @@ from django.core.management.base import BaseCommand, CommandError
class
Command
(
BaseCommand
):
help
=
'Closes the specified poll for voting'
def
add_arguments
(
self
,
parser
):
parser
.
add_argument
(
'poll_id'
,
nargs
=
'+'
,
type
=
int
)
def
handle
(
self
,
*
args
,
**
options
):
users
=
[
'admin'
,
'Antek'
,
'Rafal'
,
'Klaudia'
...
...
JoinTheCityREST/app/User/management/commands/init_userapi.py
View file @
9aaa8d05
...
...
@@ -10,10 +10,6 @@ from django.core.management.base import BaseCommand
class
Command
(
BaseCommand
):
help
=
'Closes the specified poll for voting'
def
add_arguments
(
self
,
parser
):
parser
.
add_argument
(
'poll_id'
,
nargs
=
'+'
,
type
=
int
)
def
handle
(
self
,
*
args
,
**
options
):
apis
=
[
...
...
JoinTheCityREST/app/User/management/commands/init_userevents.py
View file @
9aaa8d05
...
...
@@ -8,9 +8,6 @@ from django.core.management.base import BaseCommand, CommandError
class
Command
(
BaseCommand
):
help
=
'Closes the specified poll for voting'
def
add_arguments
(
self
,
parser
):
parser
.
add_argument
(
'poll_id'
,
nargs
=
'+'
,
type
=
int
)
def
handle
(
self
,
*
args
,
**
options
):
users
=
[
'admin'
,
'Antek'
,
'Rafal'
,
'Klaudia'
...
...
JoinTheCityREST/app/User/management/commands/init_users.py
View file @
9aaa8d05
...
...
@@ -6,9 +6,6 @@ from django.core.management.base import BaseCommand, CommandError
class
Command
(
BaseCommand
):
help
=
'Closes the specified poll for voting'
def
add_arguments
(
self
,
parser
):
parser
.
add_argument
(
'poll_id'
,
nargs
=
'+'
,
type
=
int
)
def
handle
(
self
,
*
args
,
**
options
):
users
=
[
[
'admin'
,
'admin'
,
'admin@gmail.com'
,
],
...
...
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