Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TAlone
memopol
Commits
31deff01
Commit
31deff01
authored
Jun 04, 2016
by
Nicolas Joyard
Browse files
Increase position link size
parent
bf1a24df
Changes
2
Hide whitespace changes
Inline
Side-by-side
representatives_positions/migrations/0002_increase_link_length.py
0 → 100644
View file @
31deff01
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'representatives_positions'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'position'
,
name
=
'link'
,
field
=
models
.
URLField
(
max_length
=
500
),
),
]
representatives_positions/models.py
View file @
31deff01
...
...
@@ -10,7 +10,7 @@ class Position(models.Model):
related_name
=
'positions'
)
datetime
=
models
.
DateField
()
text
=
models
.
TextField
()
link
=
models
.
URLField
()
link
=
models
.
URLField
(
max_length
=
500
)
published
=
models
.
BooleanField
(
default
=
False
)
tags
=
TaggableManager
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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