Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models handled by SQLAlchemy must have a __sam_table_name #4

Closed
gabrielfalcao opened this issue May 12, 2009 · 1 comment
Closed

Models handled by SQLAlchemy must have a __sam_table_name #4

gabrielfalcao opened this issue May 12, 2009 · 1 comment

Comments

@gabrielfalcao
Copy link
Owner

When handling ForeignKey and other kinds of relationships, I need to get the respective model's table name. Nowadays it is hardcoded through model.class.name.lower(), but would be awesome to get the correct table name.
By the way, this feature must be implemented through the feature implemented in #2

@gabrielfalcao
Copy link
Owner Author

Just reorganized the test structure. Closed by 169167e

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant