from django import template
from django.template import Node, Variable, Template, Context
from django.core.cache import cache
from django import template
from django.template import Node, Variable, Template, Context
from django.core.cache import cache
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm
from django.utils.translation import ugettext as _
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm
from django.utils.translation import ugettext as _
from catalogue.utils import split_tags
from catalogue.models import Book, BookMedia, Fragment, Tag
from catalogue.utils import split_tags
from catalogue.models import Book, BookMedia, Fragment, Tag
links.append("<a href='%s'>%s</a>" %
(dsy.file.url, BookMedia.formats['daisy'].name))
return ", ".join(links)
links.append("<a href='%s'>%s</a>" %
(dsy.file.url, BookMedia.formats['daisy'].name))
return ", ".join(links)