You cannot post messages because only members can post, and you are not currently a member.
|
Error when closing without saving
|
| |
Hi, with the last camelot version, I get an error when closing a form without saving (for the purpose, I erase an item in a relationship field and try to close the form) : RuntimeError: wrapped C/C++ object of type QDataWidgetMapper has been deleted Fichier "/home/lionel/codaten/main.py" , ligne 60, dans <module>... more »
|
|
joined table inheritance & polymorphism
|
| |
Hello, I have a model that uses joined table inheritance. The model is hi-level the following: Order = some specific fields + item list Item = some specific fields + link to order Book(Item) = an item with some additional specific fields to books DVD(Item) = an item with some additional specific fields to DVDs... more »
|
|
Model inheritance
|
| |
How do you do single table inheritance for models in Camelot? I tried doing something similar to how you do it in SQLAlchemy but it gives an error. class Person(Entity): __tablename__ = 'people' id = Column(sqlalchemy.Integer, primary_key=True) discriminator = Column('type', sqlalchemy.String(50))... more »
|
|
New insert window opening and closing immediately
|
| |
Hi, I am working on camelot, below is my configuration: OS: Mac OS X Lion 10.7.5 python: 2.7.1 camelot: 12.06.29 SQLAlchemy: 0.7.8 DB: Mysql When run a basic application, it open main window properly with database record. But when I try to insert a new record, the new window opens and closes immediately and adds an empty row to my table and not able ot inser... more »
|
|
Custom cross admin
|
| |
Hi, I need to use customs admin classes for two entities linked by a OneToMany relationship. So, when I open A and call B in the A form, I don't want to see the A attribute in the B form. And vice-versa! But Camelot complains because he can't find the B custom admin class if B is not declared before A in the... more »
|
|
Default values in form
|
| |
Hi all, With each blank float (or integer) field displayed in a form, defined as nullable=True in the model, if the user selects the field (with mouse or with the tab key) and leaves it without entering a value, the float (or integer) field is automatically set to 0.0 (or 0). How can we specify to... more »
|
|
SQLAlchemy 0.8.0
|
| |
Hello, SQLAlchemy 0.8.0 support has been merged into the default branch on Bitbucket. This is however incompatible with older SQLA versions, so if you use the default branch, you should upgrade your SQLA version as well. Upgrading SQLA from 0.7.x to 0.8.0 should be straightforward. Cheers, Erik
|
|
Icon
|
| |
How does one go about using a custom icon with an action?
I created a 32x32 PNG icon from a picture and pointed to it in Icon(). When I run the application nothing shows up and I get no error, so I am not sure where to go from here?
Thanks,
-- Adrian Klaver
adrian.kla...@gmail.com
|
|
|