<li class="{{ item.tag }}{% if not item.user %} anonymous{% endif %}">
<div class='gravatar'>
{% if item.get_email %}
- <img src="{% gravatar_for_email item.get_email 32 %}"
+ <img src="{% gravatar_url item.get_email 32 %}"
height="32" width="32" alt='Avatar' />
<br/>
{% endif %}
self.assertEqual(form.cleaned_data['author'], "rczajka@Flickr")
self.assertEqual(form.cleaned_data['title'], u"Pirate StaĆczyk")
self.assertEqual(form.cleaned_data['license_name'], "CC BY 2.0")
- self.assertEqual(form.cleaned_data['license_url'], "http://creativecommons.org/licenses/by/2.0/deed.en")
+ self.assertEqual(form.cleaned_data['license_url'], "https://creativecommons.org/licenses/by/2.0/deed.en")
self.assertEqual(form.cleaned_data['download_url'], "https://farm8.staticflickr.com/7069/6941928577_415844c58e_o.jpg")
'south',
'sorl.thumbnail',
'pagination',
- 'gravatar',
+ 'django_gravatar',
'djcelery',
'djkombu',
'fileupload',
import tempfile
CATALOGUE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo')
+CATALOGUE_IMAGE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo-img')
MEDIA_ROOT = tempfile.mkdtemp(prefix='media-root')
-USE_CELERY = False
+CELERY_ALWAYS_EAGER = True
INSTALLED_APPS += ('django_nose', 'dvcs.tests')
-django-nose==0.1.3
+django-nose==1.2
nose
nosexcover
mock
# git+git://github.com/fnp/librarian.git@master#egg=librarian
## Django
-Django>=1.5,<1.6
+Django>=1.6,<1.7
fnpdjango<0.2
django-pipeline>=1.2,<1.3
django_cas>=2.1,<2.2
sorl-thumbnail>=11.09,<12
django-maintenancemode>=0.9
django-pagination
-django-gravatar
+django-gravatar2
django-celery
django-kombu