Commit d5957ede authored by Jitka Novotna's avatar Jitka Novotna

minor changes

parent 693d71d9
......@@ -45,7 +45,7 @@ def weblate_context(request):
# Load user translations if user is authenticated
usersubscriptions = None
userlanguages = None
if request.user.is_authenticated():
usersubscriptions = Translation.objects.filter(
language__in=request.user.profile.languages.all(),
......@@ -53,7 +53,7 @@ def weblate_context(request):
).order_by(
'subproject__project__name', 'subproject__name'
).select_related()
userlanguages = Translation.objects.filter(
language__in=request.user.profile.languages.all(),
subproject__project__in=projects,
......
......@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""Whiteboard model."""
"""Group ACL."""
from django.db import models
from django.core.exceptions import ValidationError
......
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