Settings models
These models are responsible for storing settings that are configured by a user.
graph TD
A[LocaleSynchronization] --> B[wagtail.Locale]
style B stroke-dasharray: 5 5
LocaleSynchronization
Bases: Model
Stores the "Sync from" setting that users can add to Locales.
This tells Wagtail Localize to synchronise the contents of the 'sync_from' Locale to the 'locale' Locale.
Attributes:
| Name | Type | Description |
|---|---|---|
locale |
ForeignKey to Locale
|
The destination Locale of the synchronisation |
sync_from |
ForeignKey to Locale
|
The source Locale of the synchronisation |
Source code in src/wagtail_localize/models.py
2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 | |