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
52f2a704
authored
9 years ago
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
request: increase RequestType.name.max_length
parent
12a8d210
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
1 deletions
+33
-1
circle/request/migrations/0003_auto_20150410_1917.py
+32
-0
circle/request/models.py
+1
-1
No files found.
circle/request/migrations/0003_auto_20150410_1917.py
0 → 100644
View file @
52f2a704
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'request'
,
'0002_auto_20150407_1117'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'leasetype'
,
name
=
'name'
,
field
=
models
.
CharField
(
max_length
=
100
,
verbose_name
=
'Name'
),
preserve_default
=
True
,
),
migrations
.
AlterField
(
model_name
=
'request'
,
name
=
'type'
,
field
=
models
.
CharField
(
max_length
=
10
,
choices
=
[(
b
'resource'
,
'resource request'
),
(
b
'lease'
,
'lease request'
),
(
b
'template'
,
'template access request'
)]),
preserve_default
=
True
,
),
migrations
.
AlterField
(
model_name
=
'templateaccesstype'
,
name
=
'name'
,
field
=
models
.
CharField
(
max_length
=
100
,
verbose_name
=
'Name'
),
preserve_default
=
True
,
),
]
This diff is collapsed.
Click to expand it.
circle/request/models.py
View file @
52f2a704
...
...
@@ -54,7 +54,7 @@ class RequestAction(Model):
class
RequestType
(
Model
):
name
=
CharField
(
max_length
=
25
,
verbose_name
=
_
(
"Name"
))
name
=
CharField
(
max_length
=
100
,
verbose_name
=
_
(
"Name"
))
def
__unicode__
(
self
):
return
self
.
name
...
...
This diff is collapsed.
Click to expand it.
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