Files
@ 555c8d26988f
Branch filter:
Location: kallithea/tox.ini
555c8d26988f
238 B
text/x-ini
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.