Commits

Author Commit Message Labels Comments Date
legutierr
Adds repetition argument type, allowing blocks, nodelists, or internal tag arguments to be repeated.
legutierr
settings should be imported from django.conf, not from the project.
legutierr
makes it easier to pickle templates by making @block and @function tags picklable.
legutierr
removed errant space
legutierr
adds Literal argument type allowing for literal unparsed values that include template tags to be handled as strings.
legutierr
an attempt to fix/update setup.py
legutierr
VariableDoesNotExist may be raised inside of varibale.resolve, for instance when there is a filter involved.
legutierr
Finally have gotten the auto-load middleware working.
legutierr
clean up customtags' exceptions
legutierr
fixes some bugs, especially with the Optional argument implementation.
legutierr
general cleanup, fixes a bug where explicit empty string aruguments are overridden by None, fixes bug where end tags were not being handled properly.
legutierr
modifications to make the library follow some of the conventions of django 1.3's class-based views.
legutierr
empty values (i.e. '') are converted to None by StringValue and IntegerValue, in order to properly handle cases where template variables are empty. Also, moved where Argument is wrapping its value in a value class, in order to be usable by the Multi arguments.
Eduardo Gutierrez
init wasn't there
Eduardo Gutierrez
the AddToBuiltinsMiddleware needs to be restricted just to loading the default libaray located at customtags.templatetags.customtags, which is used as a default by the decorators.
Eduardo Gutierrez
added function decorator and refactored the decorators for code reuse.
Eduardo Gutierrez
Forgot to add the decorators file.
Eduardo Gutierrez
Added block decorator and automatic add-to-builtins middleware, and added tests of these features, which are passing.
Eduardo Gutierrez
remove references to classytags
Eduardo Gutierrez
rename directories
Eduardo Gutierrez
All tests pass; refactored initial setup of syntax objects, which was put into parser.py
Eduardo Gutierrez
fixed error in test 9, now 6, 12 and 15 are pending.
Eduardo Gutierrez
Refactor the initial structuring process, broke tests 6 and 9, in addition to 12 and 15
Eduardo Gutierrez
Down to two failed tests, in the middle of fixing the AsTag.
Eduardo Gutierrez
Three tests remain: AsTag, not_implemented_errors, and too_many_arguments.
Eduardo Gutierrez
more progress complying with tests, test 10 is half done.
Eduardo Gutierrez
improve the __repr__ of the Options object.
Eduardo Gutierrez
Now compliant with tests 1-6.
Eduardo Gutierrez
refactored BlockTag and Options objects for efficiency, and corrected some issues related to optional (i.e. required=False) arguments. Passes first and second tests.
Eduardo Gutierrez
moved contents of __init__.py to utils.py
  1. Prev
  2. Next