fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update librarian
[wolnelektury.git]
/
src
/
isbn
/
models.py
diff --git
a/src/isbn/models.py
b/src/isbn/models.py
index
ca8dbee
..
d65ca60
100644
(file)
--- a/
src/isbn/models.py
+++ b/
src/isbn/models.py
@@
-1,4
+1,3
@@
-# -*- coding: utf-8 -*-
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
@@
-53,7
+52,7
@@
class ISBNPool(models.Model):
class ONIXRecord(models.Model):
class ONIXRecord(models.Model):
- isbn_pool = models.ForeignKey(ISBNPool)
+ isbn_pool = models.ForeignKey(ISBNPool
, models.PROTECT
)
datestamp = models.DateField(auto_now=True)
suffix = models.IntegerField()
product_form = models.CharField(max_length=4)
datestamp = models.DateField(auto_now=True)
suffix = models.IntegerField()
product_form = models.CharField(max_length=4)