Can't get Pyramid to work with mod_wsgi

2011-07-15 Thread Aviv Giladi
Hi, I have a Pyramid app and apache with mod_wsgi and I'm trying to make them work together. Here is my httpd.conf: ServerRoot /home/user/webapps/myapp/apache2 LoadModule dir_modulemodules/mod_dir.so LoadModule env_modulemodules/mod_env.so LoadModule log_config_module

Error with Adjacency List Relationship implementation

2011-04-19 Thread Aviv Giladi
Hey guys, I am playing around with SQLAlchemy (over Pylons) and encountering a strange problem. I am using the adjacency list relationship concept to represent nodes and their parents in a single table. I copied exactly this code from the examples: class Node(Base): __tablename__ = 'nodes'

Pylons Backend Questions

2011-04-18 Thread Aviv Giladi
Hey guys, I am using Pylons for two things: 1) Serving API requests (returning JSONs describing my SQLAlchemy models) 2) Running a script 24/7 that fetches flight information from the internet (using HTTP) and pushes it into my DB (again using my models). I am NOT using Pylons as a front end, but