fnp
/
prawokultury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
locale
[prawokultury.git]
/
prawokultury
/
templatetags
/
share.py
1
from django.template import Library
2
3
register = Library()
4
5
6
@register.inclusion_tag('share.html', takes_context=True)
7
def share(context, url, description, iconset=""):
8
return {
9
'url': url,
10
'description': description,
11
'iconset': iconset,
12
'request': context['request'],
13
}