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

Internal Server Error relationship field #828

Open
2 tasks done
jrujano opened this issue Oct 9, 2024 · 3 comments
Open
2 tasks done

Internal Server Error relationship field #828

jrujano opened this issue Oct 9, 2024 · 3 comments

Comments

@jrujano
Copy link

jrujano commented Oct 9, 2024

Checklist

  • The bug is reproducible against the latest release or master.
  • There are no similar issues or pull requests to fix it yet.

Describe the bug

Internal Server Error


When I try to place in column_list a column from my model A "TipoAutoridadesPrestador" defined as "relationship" related to my model B "TipoAtencion"; and this model B has the "str" method defined and its value returns a string using f-strings

model A
code2

model B

code1

admin.py
code3

=========
BUG

Selección_142

Steps to reproduce the bug

When I try to place in column_list a column from my model A "TipoAutoridadesPrestador" defined as "relationship" related to my model B "TipoAtencion"; and this model B has the "str" method defined and its value returns a string using f-strings

Expected behavior

No response

Actual behavior

No response

Debugging material

No response

Environment

  • Linux
  • Python 3.12.4
  • sqladmin==0.16.1
  • SQLAlchemy==1.4.27

Additional context

No response

@jrujano
Copy link
Author

jrujano commented Oct 9, 2024

Model B

code3

@Vasiliy566
Copy link
Contributor

Can you please provide a code except screens to reproduce?

@aminalaee
Copy link
Owner

Please update your issue with basic code to reproduce the issue and traceback of what is going on.

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

No branches or pull requests

3 participants