Skip to content
Browse files

request data was not being applied as a dotted dict so deep sequences…

… were not working
  • Loading branch information...
1 parent 7a6aa29 commit 173e4135239a15c3e43fee1e6dc55b04fb614498 Tim Parkin committed Jul 2, 2009
Showing with 15 additions and 6 deletions.
  1. +6 −0 CHANGELOG
  2. +1 −1 formish.egg-info/PKG-INFO
  3. +3 −0 formish.egg-info/SOURCES.txt
  4. +4 −4 formish/forms.py
  5. +1 −1 setup.py
View
6 CHANGELOG
@@ -2,6 +2,12 @@
Changlelog
==========
+0.8a
+----
+
+BUGFIX: The request_data was not being set on the form as a dotted_dict post
+ 0.8, hence deep sequences were not working correctly
+
0.8
---
View
2 formish.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: formish
-Version: 0.8
+Version: 0.8b
Summary: Formish is a schema backed, templating language agnostic form generation and handling library.
Home-page: http://form.ish.io
Author: Tim Parkin, Matt Goodall
View
3 formish.egg-info/SOURCES.txt
@@ -23,6 +23,7 @@ docs-build/future.rst
docs-build/index.rst
docs-build/introduction.rst
docs-build/modules.rst
+docs-build/recaptcha.rst
docs-build/restish.rst
docs-build/run
docs-build/walkthrough.rst
@@ -93,6 +94,7 @@ docs/html/modindex.html
docs/html/modules.html
docs/html/objects.inv
docs/html/output.txt
+docs/html/recaptcha.html
docs/html/restish.html
docs/html/search.html
docs/html/searchindex.js
@@ -105,6 +107,7 @@ docs/html/_sources/future.txt
docs/html/_sources/index.txt
docs/html/_sources/introduction.txt
docs/html/_sources/modules.txt
+docs/html/_sources/recaptcha.txt
docs/html/_sources/restish.txt
docs/html/_sources/walkthrough.txt
docs/html/_static/basic.css
View
8 formish/forms.py
@@ -773,7 +773,7 @@ def _get_request_data(self):
"""
if self._request_data is not None:
return dotted(self._request_data)
- self._request_data = self.widget.to_request_data(self.structure, self._defaults)
+ self._request_data = dotted(self.widget.to_request_data(self.structure, self._defaults))
return dotted(self._request_data)
@@ -784,7 +784,7 @@ def _set_request_data(self, request_data):
:arg request_data: raw request data (e.g. request.POST)
:type request_data: Dictionary (dotted or nested or dotted or MultiDict)
"""
- self._request_data = request_data
+ self._request_data = dotted(request_data)
request_data = property(_get_request_data, _set_request_data)
@@ -825,8 +825,8 @@ def _set_request(self, request):
# Convert request data to a dottedish friendly representation
request_data = _unflatten_request_data(request_data)
- self._request_data = request_data
- self._request_data = self.widget.pre_parse_incoming_request_data(self.structure,request_data)
+ self._request_data = dotted(request_data)
+ self._request_data = dotted(self.widget.pre_parse_incoming_request_data(self.structure,request_data))
def _get_request(self):
return self._request
View
2 setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import sys, os, glob
-version = '0.8'
+version = '0.8b'
setup(name='formish',
version=version,

0 comments on commit 173e413

Please sign in to comment.
Something went wrong with that request. Please try again.