# SPDX-FileCopyrightText: 2024 Thomas Breitner <t.breitner@csl.mpg.de>
#
# SPDX-License-Identifier: EUPL-1.2
from django.db import models
from wagtail.contrib.settings.models import BaseSiteSetting, register_setting
[docs]
@register_setting
class NewsFeedSettings(BaseSiteSetting):
newsfeed_title = models.CharField(
max_length=255,
default="eucrim news feed",
)
newsfeed_description = models.TextField(
max_length=500,
default="eucrim: news, event, articles and issues. The eucrim journal "
"serves as a Europe-wide forum for European criminal law and "
"intends to encourage discussion among both practitioners and "
"academics. It is addressed to the Members of the Associations "
"of Lawyers of European Criminal Law and the Associations for "
"the Protection of the Financial Interests of the European "
"Communities, as well as all interested parties.",
)
class Meta:
verbose_name = "News Feed"