-i https://py.mdrn.pl/simple/
# django
-Django==1.11.20
+Django==1.11.22
fnpdjango==0.3
django-pipeline==1.6.13
jsmin
sorl-thumbnail>=12.3,<12.4
# home-brewed & dependencies
-librarian==1.7.3
+librarian==1.7.4
# celery tasks
celery>=3.1.12,<3.2
from random import randint
import os.path
import re
-import urllib
+from urllib.request import urlretrieve
from django.conf import settings
from django.db import connection, models, transaction
import django.dispatch
for ilustr in ilustr_elements:
ilustr_src = ilustr.get('src')
ilustr_path = os.path.join(gallery_path, ilustr_src)
- urllib.urlretrieve('%s/%s' % (remote_gallery_url, ilustr_src), ilustr_path)
+ urlretrieve('%s/%s' % (remote_gallery_url, ilustr_src), ilustr_path)
def load_abstract(self):
abstract = self.wldocument(parse_dublincore=False).edoc.getroot().find('.//abstrakt')
{% if request.user.is_authenticated %}
<li>
<a href="{% url 'user_settings' %}">
- <strong>{{ user_username }}</strong>
+ <strong>{{ request.user.username }}</strong>
</a>
</li>
<li>