fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic login.
[wolnelektury.git]
/
src
/
catalogue
/
models
/
collection.py
diff --git
a/src/catalogue/models/collection.py
b/src/catalogue/models/collection.py
index
2366321
..
f6284ad
100644
(file)
--- a/
src/catalogue/models/collection.py
+++ b/
src/catalogue/models/collection.py
@@
-1,5
+1,5
@@
-# This file is part of Wolne
l
ektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja
Nowoczesna Polska
. See NOTICE for more information.
+# This file is part of Wolne
L
ektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja
Wolne Lektury
. See NOTICE for more information.
#
from django.conf import settings
from django.db import models
#
from django.conf import settings
from django.db import models
@@
-19,8
+19,6
@@
class Collection(models.Model):
limit_choices_to={'category': 'author'},
blank=True
)
limit_choices_to={'category': 'author'},
blank=True
)
- kind = models.CharField('rodzaj', max_length=10, blank=False, default='book', db_index=True,
- choices=(('book', 'książki'), ('picture', 'obrazy')))
listed = models.BooleanField('na liście', default=True, db_index=True)
role = models.CharField(max_length=128, blank=True, db_index=True, choices=[
('', '–'),
listed = models.BooleanField('na liście', default=True, db_index=True)
role = models.CharField(max_length=128, blank=True, db_index=True, choices=[
('', '–'),