> There are likely some bugs in the url that follows as it was a proof
> of concept, but, I am using it during development of a production
> app.  While I'm using mysql, sqlite should work fine with some minor
> schema changes.  The one thing I don't recall on sqlite is whether
> types are sent through properly.  If Deform is taking an integer
> field, your appstruct needs to have the type of the value to also be
> an integer.
>
> http://cd34.com/blog/framework/using-pyramid-with-deform-to-editcreat...

Hi cd34,
thanks for that. It looks like you found a nice solution for your own
problem.

I am still trying to get the screencast ported to Pyramid.
Unfortunately it does not even work with Pylons:

"""
URL: http://localhost:5000/demo/index
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/WebError-0.10.3-py2.6.egg/weberror/
evalexception.py', line 431 in respond
  app_iter = self.application(environ, detect_start_response)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Beaker-1.5.4-py2.6.egg/beaker/
middleware.py', line 152 in __call__
  return self.wrap_app(environ, session_start_response)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/
middleware.py', line 131 in __call__
  response = self.app(environ, start_response)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Pylons-1.0-py2.6.egg/pylons/wsgiapp.py',
line 107 in __call__
  response = self.dispatch(controller, environ, start_response)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Pylons-1.0-py2.6.egg/pylons/wsgiapp.py',
line 312 in dispatch
  return controller(environ, start_response)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
tutorial/deformscreencast/controllers/__init__.py', line 15 in
__call__
  return WSGIController.__call__(self, environ, start_response)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 211 in __call__
  response = self._dispatch_call()
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 162 in _dispatch_call
  response = self._inspect_call(func)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 105 in _inspect_call
  result = self._perform_call(func, args)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
lib/python2.6/site-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 57 in _perform_call
  return func(**args)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
tutorial/deformscreencast/controllers/demo.py', line 141 in index
  self.success(captured)
File '/home/mark/Desktop/LOC/formish/Pyramid/pyramid_deformscreencast/
tutorial/deformscreencast/controllers/demo.py', line 120 in success
  fn = os.path.join(self.here, attachment['uid'])
AttributeError: 'DemoController' object has no attribute 'here'
"""

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to