templatetag test
// description of your code here
a code snippet like that at the bottom of my templatetag file while i def with a if __name__=='__main__': .. that way I can test my tag as i work on them
template.Template("so {% load photogalleries %}") is the same in the .html as it is in Python form... it just makes it easier because you can stick the py code at the end of your template tags file and then run Wing's Debug on that file... That will allow you to set breakpoints within your tags and quickly figure out what's going on with them....
a code snippet like that at the bottom of my templatetag file while i def with a if __name__=='__main__': .. that way I can test my tag as i work on them
template.Template("so {% load photogalleries %}") is the same in the .html as it is in Python form... it just makes it easier because you can stick the py code at the end of your template tags file and then run Wing's Debug on that file... That will allow you to set breakpoints within your tags and quickly figure out what's going on with them....
template.Template("everything in this string is treated just like the contents of your myfile.html template file") template.Template("so {% load photogalleries %}"