Commit 801f6ec7 authored by Skia's avatar Skia

Translations and small fix in the forum

parent aa07749a
Pipeline #768 passed with stage
in 3 minutes and 12 seconds
......@@ -10,7 +10,7 @@ from django import forms
from django.db import models
from django.core.exceptions import PermissionDenied
from math import inf
import math
from core.views import CanViewMixin, CanEditMixin, CanEditPropMixin, CanCreateMixin, TabedViewMixin
from forum.models import Forum, ForumMessage, ForumTopic, ForumMessageMeta
......@@ -126,7 +126,7 @@ class ForumTopicDetailView(CanViewMixin, DetailView):
kwargs['first_unread_message_id'] =
kwargs['first_unread_message_id'] = inf
kwargs['first_unread_message_id'] = math.inf
return kwargs
class ForumMessageEditView(CanEditMixin, UpdateView):
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment