Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
6326d71b
Commit
6326d71b
authored
4 years ago
by
jarmil
Browse files
Options
Downloads
Patches
Plain Diff
Oprava popisku pole u osoby
parent
2f97efe7
Branches
Branches containing commit
No related tags found
2 merge requests
!173
Release
,
!134
Weby pro MS
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
shared/migrations/0015_auto_20210106_1029.py
+18
-0
18 additions, 0 deletions
shared/migrations/0015_auto_20210106_1029.py
shared/models.py
+1
-1
1 addition, 1 deletion
shared/models.py
with
19 additions
and
1 deletion
shared/migrations/0015_auto_20210106_1029.py
0 → 100644
+
18
−
0
View file @
6326d71b
# Generated by Django 3.1.3 on 2021-01-06 09:29
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
"
shared
"
,
"
0014_auto_20201104_1134
"
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
"
personpage
"
,
name
=
"
username
"
,
field
=
models
.
TextField
(
verbose_name
=
"
Uživatelské jméno osoby
"
),
),
]
This diff is collapsed.
Click to expand it.
shared/models.py
+
1
−
1
View file @
6326d71b
...
...
@@ -99,7 +99,7 @@ class PersonPage(SharedSubpageMixin, MetadataPageMixin, Page):
"""
# ve formatu iapi: https://iapi.pirati.cz/v1/user?username=john.doe
username
=
models
.
TextField
(
"
Pirate ID
osoby
"
,
blank
=
False
)
username
=
models
.
TextField
(
"
Uživatelské jméno
osoby
"
,
blank
=
False
)
profile_id
=
models
.
IntegerField
(
"
Číslo medailonku (0..2) z lide.pirati.cz
"
,
blank
=
True
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment