X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..6b0f855c770066db9b5b3fa11a9af64c4b8c60bd:/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)