fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow uploading audiobooks via API.
[wolnelektury.git]
/
src
/
pdcounter
/
models.py
diff --git
a/src/pdcounter/models.py
b/src/pdcounter/models.py
index
69c70c1
..
24866fe
100644
(file)
--- a/
src/pdcounter/models.py
+++ b/
src/pdcounter/models.py
@@
-36,7
+36,7
@@
class Author(models.Model):
@permalink
def get_absolute_url(self):
@permalink
def get_absolute_url(self):
- return '
catalogue.views.
tagged_object_list', [self.url_chunk]
+ return 'tagged_object_list', [self.url_chunk]
def has_description(self):
return len(self.description) > 0
def has_description(self):
return len(self.description) > 0
@@
-76,7
+76,7
@@
class BookStub(models.Model):
@permalink
def get_absolute_url(self):
@permalink
def get_absolute_url(self):
- return '
catalogue.views.
book_detail', [self.slug]
+ return 'book_detail', [self.slug]
def in_pd(self):
return self.pd is not None and self.pd <= datetime.now().year
def in_pd(self):
return self.pd is not None and self.pd <= datetime.now().year