@@ -0,0 +1,651 @@
+# -*- coding: utf-8 -*-%0A# %0A# File: uuid.py%0A# Author: Kenson Man %3Ckenosn.idv.hk@gmail.com%3E%0A# Desc: The template-tag used to generate a uuid into output.%0A# Sample:%0A#    %7B%25uuid%25%7D        # Generate a UUID and output%0A#    %7B%25uuid as abc%25%7D # Generate a UUID and store into abc%0A#%0Afrom django.template import Library, Node, TemplateSyntaxError%0Afrom uuid import uuid4%0A%0Aregister = Library()%0A%0A@register.simple_tag(name='uuid')%0Adef do_uuid():%0A   %22%22%22%0A   Desc: The template-tag used to generate a uuid into output.%0A   Sample:%0A      %7B%25uuid%25%7D        # Generate a UUID and output%0A      %7B%25uuid as abc%25%7D # Generate a UUID and store into abc%0A   %22%22%22%0A   return uuid4().hex%0A%0A

Add the UUID template-tag that generate the UUID