# HG changeset patch
# User cavaliet
# Date 1377515154 -7200
# Node ID 4ccab974a4c17e991d04923e40dac0fbcd4b796a
# Parent f6cb207fb8d907659e01afa32d8fdcd17c293517
debug and version number to 0.13
diff -r f6cb207fb8d9 -r 4ccab974a4c1 src/hashcut/__init__.py
--- a/src/hashcut/__init__.py Tue Jul 23 17:27:07 2013 +0200
+++ b/src/hashcut/__init__.py Mon Aug 26 13:05:54 2013 +0200
@@ -1,4 +1,4 @@
-VERSION = (0, 12, 0, "final", 0)
+VERSION = (0, 13, 0, "final", 0)
def get_version():
diff -r f6cb207fb8d9 -r 4ccab974a4c1 src/hashcut/templates/mashup_all_mashups.html
--- a/src/hashcut/templates/mashup_all_mashups.html Tue Jul 23 17:27:07 2013 +0200
+++ b/src/hashcut/templates/mashup_all_mashups.html Mon Aug 26 13:05:54 2013 +0200
@@ -52,7 +52,7 @@
{% for m in results.object_list %}
{% endfor %}
diff -r f6cb207fb8d9 -r 4ccab974a4c1 src/hashcut/views.py
--- a/src/hashcut/views.py Tue Jul 23 17:27:07 2013 +0200
+++ b/src/hashcut/views.py Mon Aug 26 13:05:54 2013 +0200
@@ -1,6 +1,5 @@
from django.conf import settings
-from django.contrib.auth import authenticate, login, logout
-from django.contrib.auth.models import User
+from django.contrib.auth import authenticate, get_user_model, login, logout
from django.core.exceptions import ObjectDoesNotExist
from django.core.paginator import Paginator, InvalidPage, EmptyPage
from django.http import HttpResponseNotFound, HttpResponse
@@ -10,9 +9,10 @@
from ldt.api.ldt.resources import ProjectResource
from ldt.ldt_utils.models import Project, Content
from ldt.security.cache import cached_assign
-import logging
import re
+User = get_user_model()
+
class MashupContextView(View):
branding = "iri"
@@ -42,7 +42,6 @@
m2 = None
last_mashups = None
mashups = Mashup.objects.filter(branding=brd).order_by('-project__creation_date')[:6]
- logging.debug(repr(mashups))
l = len(mashups)
if l>0:
m1 = mashups[0]