Top "Pylons" questions

emphasizing flexibility and rapid development.

UnicodeEncodeError: 'latin-1' codec can't encode character

What could be causing this error when I try to insert a foreign character into the database? >>UnicodeEncodeError: …

python mysql unicode pylons
How can I select all rows with sqlalchemy?

I am trying to get all rows from a table. In controller I have: meta.Session.query(User).all() The …

python sqlalchemy pylons
How to get column names from SQLAlchemy result (declarative syntax)

I am working in a pyramid project and I've the table in SQLAlchemy in declarative syntax """models.py""" class Projects(…

python sqlalchemy pylons pyramid
How do I run a single test with Nose in Pylons

I have a Pylons 1.0 app with a bunch of tests in the test/functional directory. I'm getting weird test results …

testing pylons nose nosetests
How come I can not activate my Virtual Python Environment with 'source env/bin/activate' command?

I am trying to activate my Virtual Python Environment to use with Pylons but I think I am executing the …

python pylons
SQLAlchemy, clear database content but don't drop the schema

I'm developing a Pylons app which is based on exisitng database, so I'm using reflection. I have an SQL file …

python sqlalchemy pylons
Proper way to set object instance variables

I'm writing a class to insert users into a database, and before I get too far in, I just want …

python oop pylons
sqlalchemy existing database query

I am using SQLAlchemy as ORM for a python project. I have created few models/schema and it is working …

python sqlalchemy pyramid pylons
get path of python binary that's executing the script

I have a Pylons controller (irrelevant but explains why I have this need) say starter.py that starts another process …

python pylons virtualenv
SQLAlchemy printing raw SQL from create()

I am giving Pylons a try with SQLAlchemy, and I love it, there is just one thing, is it possible …

python sqlalchemy pylons