Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
02889dd2
authored
Aug 25, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: remove unused form parameters
parent
2a2b8257
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
circle/dashboard/forms.py
+0
-13
No files found.
circle/dashboard/forms.py
View file @
02889dd2
...
...
@@ -57,7 +57,6 @@ from django.utils.translation import string_concat
from
.virtvalidator
import
domain_validator
from
dashboard.models
import
ConnectCommand
from
vm.models.instance
import
ACCESS_METHODS
LANGUAGES_WITH_CODE
=
((
l
[
0
],
string_concat
(
l
[
1
],
" ("
,
l
[
0
],
")"
))
for
l
in
LANGUAGES
)
...
...
@@ -1041,18 +1040,6 @@ class UserKeyForm(forms.ModelForm):
class
ConnectCommandForm
(
forms
.
ModelForm
):
access_method
=
forms
.
ChoiceField
(
ACCESS_METHODS
,
required
=
True
,
label
=
_
(
'Access method'
))
application
=
forms
.
CharField
(
required
=
False
,
label
=
_
(
'Application'
),
help_text
=
_
(
'This will be the value of the '
'
%(app)
s parameter.'
))
template
=
forms
.
CharField
(
label
=
_
(
'Template'
),
required
=
True
,
help_text
=
_
(
'This will be the connection command template. '
'Available parameters are: username, '
'host, port, password, app.'
'Example:
%(app)
s -p
%(password)
s
%(host)
s'
))
class
Meta
:
fields
=
(
'access_method'
,
'application'
,
'template'
)
model
=
ConnectCommand
...
...
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