fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some preparation for upgrade.
[wolnelektury.git]
/
src
/
catalogue
/
management
/
commands
/
report_dead_links.py
diff --git
a/src/catalogue/management/commands/report_dead_links.py
b/src/catalogue/management/commands/report_dead_links.py
index
a6ee2a9
..
ddcc216
100644
(file)
--- a/
src/catalogue/management/commands/report_dead_links.py
+++ b/
src/catalogue/management/commands/report_dead_links.py
@@
-11,7
+11,7
@@
class Command(BaseCommand):
from catalogue.models import Book
from picture.models import Picture
from urllib.request import urlopen, HTTPError, URLError
from catalogue.models import Book
from picture.models import Picture
from urllib.request import urlopen, HTTPError, URLError
- from django.
core.urlresolver
s import reverse
+ from django.
url
s import reverse
from django.contrib.sites.models import Site
domain = Site.objects.get_current().domain
from django.contrib.sites.models import Site
domain = Site.objects.get_current().domain