X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/6a259b96cff47e1fd64cbfd6f3d1e1d8e8b6486c..b477b3cfa2ce28678eb6c861b286e86ed77046ee:/apps/catalogue/models/__init__.py diff --git a/apps/catalogue/models/__init__.py b/apps/catalogue/models/__init__.py index d9a11dde..5e8adb3e 100755 --- a/apps/catalogue/models/__init__.py +++ b/apps/catalogue/models/__init__.py @@ -3,7 +3,18 @@ # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from catalogue.models.chunk import Chunk -from catalogue.models.publish_log import BookPublishRecord, ChunkPublishRecord -from catalogue.models.book import Book -from catalogue.models.listeners import * +from catalogue.models.template import Template +from catalogue.models.document import Document +from catalogue.models.plan import Plan +from catalogue.models.publish_log import PublishRecord +from catalogue.models.tag import Category, Tag + +from django.contrib.auth.models import User as AuthUser + + +class User(AuthUser): + class Meta: + proxy = True + + def __unicode__(self): + return "%s %s" % (self.first_name, self.last_name)