diff --git a/VERSION b/VERSION index 60a2d3e..44bb5d1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.0 \ No newline at end of file +0.4.1 \ No newline at end of file diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 9c16df1..185a13e 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,9 @@ Changelog ========= +* :release:`0.4.1 <2015-09-02>` +* :bug:`-` Simplified ACLs (refactoring) + * :release:`0.4.0 <2015-08-19>` * :support:`-` Added support for JSON schema draft 04 * :support:`-` RAML is now parsed using ramlfications instead of pyraml-parser diff --git a/docs/source/processors.rst b/docs/source/processors.rst index 6772796..659755c 100644 --- a/docs/source/processors.rst +++ b/docs/source/processors.rst @@ -12,7 +12,8 @@ A processor receives a number of keyword arguments: * ``kwargs['instance']`` is the object instance being created or updated * ``kwargs['new_value']`` is the new value being set, or the value returned by the previous processor if there are multiple processors on the same field -* ``kwargs['field']`` is the name of the field +* ``kwargs['field'].name`` is the name of the field +* ``kwargs['field'].params`` is the object containing the database field params, e.g. `min_length` * ``kwargs['request']`` is the request object which includes the user object `request.user` E.g. diff --git a/setup.py b/setup.py index 24cb7d5..3a4472c 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ 'inflection', 'transaction', 'six', - 'nefertari>=0.5.0', + 'nefertari>=0.5.1', ] setup(name='ramses',