Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Swiss Unity League Website
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Antoine Albertelli
Swiss Unity League Website
Merge requests
!258
An error occurred while fetching reviewers.
Release articles
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Release articles
release-articles
into
master
Overview
0
Commits
6
Pipelines
3
Changes
11
Merged
Jari Rentsch
requested to merge
release-articles
into
master
5 months ago
Overview
0
Commits
6
Pipelines
3
Changes
11
Expand
0
0
Merge request reports
Compare
master
version 2
31cf64cc
5 months ago
version 1
3a0d10c4
5 months ago
master (base)
and
latest version
latest version
4edc58ab
6 commits,
5 months ago
version 2
31cf64cc
5 commits,
5 months ago
version 1
3a0d10c4
3 commits,
5 months ago
11 files
+
203
−
17
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
articles/migrations/0003_article_description_article_header_image.py
0 → 100644
+
53
−
0
Options
# Copyright 2024 Leonin League
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Generated by Django 5.0.4 on 2024-11-07 17:13
import
django.core.validators
from
django.db
import
migrations
,
models
import
articles.models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
"
articles
"
,
"
0002_alter_article_content
"
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
"
article
"
,
name
=
"
description
"
,
field
=
models
.
TextField
(
blank
=
True
,
help_text
=
"
A short description that advertises the article. Used on the homepage and in meta data.
"
,
max_length
=
200
,
),
),
migrations
.
AddField
(
model_name
=
"
article
"
,
name
=
"
header_image
"
,
field
=
models
.
ImageField
(
blank
=
True
,
help_text
=
"
The advertisment image for the home page. Maximum size: 500KB. Supported formats: JPEG, PNG, WEBP.
"
,
null
=
True
,
upload_to
=
"
article_header
"
,
validators
=
[
articles
.
models
.
article_image_validator
,
django
.
core
.
validators
.
validate_image_file_extension
,
],
),
),
]
Loading