Bogdan Hopulele
8bdfee0666
Implement review suggestions
2017-03-24 14:48:33 +02:00
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
seroy
9278e99b18
import fixed
2017-03-18 18:44:26 +03:00
Swen Kooij
d7bd217a90
Ported to use django-postgres-extra
2017-02-21 17:36:56 +02:00
Swen Kooij
6d7a937eac
Don't regenerate slug if not needed
2017-02-16 10:13:10 +02:00
Swen Kooij
ca6b1c88fa
Add option include_time to LocalizedUniqueSlugField
2017-02-15 19:13:19 +02:00
Swen Kooij
b121dfc2d7
Added __eq__ operator to LocalizedValue
2017-02-09 14:57:08 +02:00
Swen Kooij
bb11253207
Moved retry mechanism to mixin
2017-02-03 10:35:39 +02:00
Swen Kooij
5db87763fb
Rename LocalizedMagicSlugField to LocalizedUniqueSlugField
2017-02-03 10:27:30 +02:00
Swen Kooij
d740d442b2
Added missing test for LocalizedValue __init__
2017-02-02 15:04:01 +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
e14350fbf3
Started work on LocalizedMagicSlugField
...
This will be a superior version of LocalizedAutoSlugField, but one
that doesn't have concurrency issues and takes advantage of the
new UNIQUE CONSTRAINTs.
2017-02-01 16:59:13 +02:00
Swen Kooij
fc31e1e5f1
Fixed slugs not being generated for unicode texts
2017-01-26 01:18:46 +02:00
Emil Luta
03e8a7383f
Added test for dict init on LocalizedModel
2017-01-12 16:35:07 +02:00
Swen Kooij
98cc4c08d1
Made tests work once again
2016-12-16 08:50:04 +02:00
Swen Kooij
6d9ee5df8d
Export all classes from localized_fields
2016-10-24 13:34:49 +03:00
Swen Kooij
1b94bf2cd8
LocalizedAutoSlugField should not use LocalizedForm
2016-10-24 13:03:40 +03:00
Swen Kooij
20d9e68c06
Bumped coverage to 100%
2016-10-24 12:35:23 +03:00
Swen Kooij
c081b0431d
Created abstract model to take care of default values
2016-10-24 11:50:21 +03:00
Swen Kooij
666335f3a7
Added a default value for LocalizedField
2016-10-22 21:59:42 +03:00
Swen Kooij
1cd3812d2a
Moved tests to tests/
2016-10-21 12:57:51 +03:00