Commits

Antoni Aloy committed 567a702 Draft

doc and minor style changes

  • Participants
  • Parent commits 2aeec5d

Comments (0)

Files changed (4)

     template.add_to_builtins('the.module.you.want.to.add.tag_module')
 
 
+Templatetags
+------------
+
+* apsl_tags
+    - mkrange 
+    - autolinebreaks
+    - currency
+    - add_get
+    - in_group
+    - active
+    - active_for_user
+    - active_for_anonymous
+    
+* iker_tags
+    - rawdump
+    - dump
+    - dir
+    - hash
+    - classname
+    - details 
+
+* partition_tags

apsl_lib/templatetags/apsl_tags.py

     newline becomes an HTML line break (``<br />``) and a new line
     followed by a blank line becomes a paragraph break (``</p>``).
     """
-    import re
     html_match = re.compile('<br>|<br />|<p>|<table>', re.IGNORECASE)
     if not html_match.search(value):
         from django.utils.html import linebreaks

apsl_lib/templatetags/partition_tags.py

 
 credit: http://djangosnippets.org/snippets/401/
 Author: SmileyChris
+
 """
 
 from django.template import Library
 
 setup(
     name='apsl_lib',
-    version='0.1',
+    version='0.2',
     description='Utility libs for Django',
     long_description=open('README.rst').read(),
     author='Antoni Aloy',