Files
@ 555c8d26988f
Branch filter:
Location: kallithea/dev_requirements.txt
555c8d26988f
186 B
text/plain
db: always add to session in Setting.create_or_update
There's no use case for not adding the newly created Setting to the
SQLAlchemy session (and thus, once we commit, the database).
With this change, all the various "create" model methods add their
result to the session.
There's no use case for not adding the newly created Setting to the
SQLAlchemy session (and thus, once we commit, the database).
With this change, all the various "create" model methods add their
result to the session.