Commit Graph

10 Commits

Author SHA1 Message Date
Bogdan Hopulele
52145ca7d3 Add experimental features flag for LocalizedField
With the flag set, LocalizedField will return None if there is no
database value.
2017-03-23 17:32:37 +02:00
Swen Kooij
6cb4cdf52e Now inheriting from PostgresModel for upserts 2017-02-24 14:35:29 +02:00
Swen Kooij
bb11253207 Moved retry mechanism to mixin 2017-02-03 10:35:39 +02:00
Swen Kooij
d5ed3ced40 Raise IntegrityError if it's not about the slug 2017-02-02 17:08:06 +02:00
Swen Kooij
9a976d5ec8 Added max retries option + tests 2017-02-02 15:01:40 +02:00
Swen Kooij
1ef02616ec Added tests for custom db-backend 2017-02-02 14:36:22 +02:00
Swen Kooij
a48eb12370 Add a new auto-slug field that is concurrency resistent 2017-02-02 10:58:04 +02:00
Swen Kooij
105c1e7b6b Move LocalizedValue and add get_language_codes 2017-02-01 15:06:36 +02:00
Emil Luta
5f5568d380 Allow localized fields to be inited with dicts 2017-01-12 15:49:59 +02:00
Swen Kooij
c081b0431d Created abstract model to take care of default values 2016-10-24 11:50:21 +03:00