X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..639546a46a3a3ec9177a3c95e7639b636bb24879:/src/catalogue/models/__init__.py diff --git a/src/catalogue/models/__init__.py b/src/catalogue/models/__init__.py old mode 100755 new mode 100644 index d0015c79..86be6bc6 --- a/src/catalogue/models/__init__.py +++ b/src/catalogue/models/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -17,5 +15,5 @@ class User(AuthUser): class Meta: proxy = True - def __unicode__(self): + def __str__(self): return "%s %s" % (self.first_name, self.last_name)