Commit Graph
66 Commits
Author SHA1 Message Date
Emil Luta 5f5568d380 Allow localized fields to be inited with dicts 2017-01-12 15:49:59 +02:00
Swen Kooij 9d7e3a5655 AutoSlugField should not use LIKE 2017-01-10 15:10:41 +02:00
Swen Kooij 98cc4c08d1 Made tests work once again 2016-12-16 08:50:04 +02:00
Swen Kooij 3adfe509b2 String constructor for LocalizedValue
This allows you to do: LocalizedValue('thing'), which would result in a LocalizedValue looking
like this:

     {'en': 'thing', 'ar': None}
2016-12-16 08:30:56 +02:00
Swen Kooij 39a573e1d2 Use Textarea widget for LocalizedFieldWidget 2016-12-08 16:45:40 +02:00
Swen Kooij 9f46dc4ca9 Fixed bug with options not being passed to bleach properly 2016-10-26 17:03:34 +03: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 c081b0431d Created abstract model to take care of default values 2016-10-24 11:50:21 +03:00
Swen Kooij 69718c376f Added a proper deconstruct method to LocalizedValue 2016-10-23 16:53:31 +03:00
Swen Kooij 7e410e857b Fixed a bug that would make creation forms crash 2016-10-23 16:44:33 +03:00
Swen Kooij 666335f3a7 Added a default value for LocalizedField 2016-10-22 21:59:42 +03:00
Swen Kooij c4a4d0172e Added pep8, flake8 and pylint configuration 2016-10-21 13:05:45 +03:00
Swen Kooij 1cd3812d2a Moved tests to tests/ 2016-10-21 12:57:51 +03:00
Swen Kooij 612b3bf427 Added initial implementation + tests 2016-10-21 12:21:11 +03:00
Swen Kooij 095fd892e8 Created empty Django app 2016-10-21 10:58:44 +03:00