The web framework that scales with you. TurboGears 2.4.3 released https://github.com/TurboGears/tg2/releases/tag/tg2.4.3
amol- on development
disable logging and cleanup (compare)
amol- on development
Use development version of TG (compare)
amol- on development
Fix on Python 3.10 and 3.11 (compare)
amol- on development
Stop CI on first failure (compare)
amol- on development
Adapt to pytest (compare)
amol- on development
Fix generated app_cfg (compare)
amol- on development
Upgrading guides from 2.4 to 2.5 (compare)
amol- on development
Address some auth_backend lefto… (compare)
amol- on development
Switch test suite from nose to … (compare)
amol- on development
Further tweaks to make tests pa… (compare)
amol- on development
Temporarily need tempita unrele… (compare)
amol- on development
Tweak install process (compare)
amol- on development
Fix assertions and pip installs (compare)
amol- on development
Use development version of temp… (compare)
amol- on development
Initial attempt at modernizing … (compare)
key
in practice defines "in which parameter you find the value for that widget"
@michael-goebel From 2.1.5 it should be doable to upgrade up to 2.4
There are some big changes, but nothing that should require you to rewrite things from scratch apart maybe the usage of TW2 instead of TW1.
My suggestion is to read the upgrade guidelines version by version -> https://turbogears.readthedocs.io/en/development/reference/upgrading.html
You can try to excecute them all at once, which is more complex but faster or just upgrade one version at the time. From 2.1 to 2.2 and then to 2.3 and so on... Once you are on TG2.2 and TW2 the jump to newer versions should be more straightforward.
@CastixGitHub note that PR includes some changes to quickstart that were already discussed in a previous PR: https://github.com/TurboGears/tg2devtools/pull/19/files
The setting up your version control system is definitely out of the scope of gearbox quickstart
. It might go in a dedicated gearbox
command like gearbox gitignore
or things like that providing a good ignore file for TG projects. But doing git init
is definitely out of the scope of both gearbox and tg.
Heyo, I have a small question about Ming:
For a project, I have used a circular (object to the same object) relationship, using the exact same syntax as the docs: https://ming.readthedocs.io/en/latest/userguide.html#relating-classes
However, I ran into an issue: Even tough the ForeignIDProperty updates immediately, both in Mongo and in Ming, the RelationProperty values do not, and linger with their old state for a while, causing a bug.
Is there something that I could be doing wrong that causes this? Alternatively, is there a function available I could call to update the RelationProperty values when I need to be sure they are consistent with their ForeignIDProperties?