Swen Kooij
d66f5085a8
Merge branch 'master' into hstore_extension
2019-01-11 14:40:38 +02:00
Swen Kooij
c6e8321ae7
Add CircleCI badge to README
2019-01-11 14:40:27 +02:00
Swen Kooij
b2f50ec82b
Convert to use CircleCI and run tests against Django 2.1/Python 3.7
2019-01-11 14:37:03 +02:00
Swen Kooij
acf8867974
Merge pull request #52 from SectorLabs/localized-integer-field-widget
...
Add LocalizedIntegerFieldWidget
2018-09-24 15:16:55 +03:00
Cristi Ingineru
4922a1b93f
self.translate()
2018-09-24 12:57:46 +03:00
Oliver Sauder
6c902229ce
Enable HStore extension for localized fields to work
2018-08-27 15:07:41 +02:00
Cristi Ingineru
4f83cbf4ed
Add LocalizedIntegerFieldWidget
2018-08-16 14:27:38 +03:00
Swen Kooij
88e2d29596
Bump version number to 5.0a3
v5.0a3
2018-06-28 12:39:25 +03:00
Swen Kooij
588f32086b
Merge pull request #51 from SectorLabs/multiwidget
...
Copy the widget for each language
2018-06-28 12:39:02 +03:00
Cristi Ingineru
13e2666a51
Copy the widget for each language
2018-06-28 12:33:44 +03:00
Swen Kooij
2393539b44
Bump version number to 5.0a2
v5.0a2
2018-06-19 12:30:04 +03:00
Swen Kooij
e322b3d63b
Upgrade django-postgres-extra to 1.21a11
2018-06-19 12:29:55 +03:00
Swen Kooij
1b1d24a460
Make defaults work for LocalizedIntegerField
v5.0a1
2018-06-15 17:07:12 +03:00
Swen Kooij
fb233e8f25
Make sure values are strings before saving LocalizedIntegerValue
2018-06-15 16:19:32 +03:00
Swen Kooij
bca94a3508
Add quick docs on LocalizedIntegerField
2018-06-15 13:04:00 +03:00
Swen Kooij
8c83fa6b49
Bump version number to 5.0a1
2018-06-15 12:58:27 +03:00
Swen Kooij
90597da8fd
Add a LocalizedIntegerField
2018-06-15 12:58:01 +03:00
Swen Kooij
752e17064d
Deprecate LocalizedFileValue.localized()
2018-06-14 08:01:10 +03:00
Swen Kooij
def7dae640
Add LocalizedValue.translate()
...
LocalizedValue.translate() behaves the exact same as the str(..) cast
works, with the exception that it returns None if there is no value
instead of an empty string. This makes it easier to implement custom
value classes on top of the LocalizedValue class.
Behavior for str(..) stays the same as it was.
2018-06-14 07:57:02 +03:00
Swen Kooij
db4324fbf3
Bump version number to 4.6a3
2018-04-02 15:59:42 +03:00
Swen Kooij
9ff0b781ab
Upgrade django-postgres-extra to 1.21a9
2018-04-02 15:59:27 +03:00
Swen Kooij
a76101c9ad
Fix LocalizedFieldsAdminMixin not having a base class
...
This was a breaking change and broke a lot of projects.
2018-04-02 15:59:16 +03:00
Swen Kooij
04f15363bb
Upgrade django-postgres-extra to 1.21a8
v4.6a2
2018-04-01 18:28:43 +03:00
Swen Kooij
a849866bcb
Make it more clear Django 2.X is supported
2018-03-31 17:05:39 +03:00
Swen Kooij
5e58bc6e24
Revert "Use standard postgres on Scrutinizer"
...
This reverts commit 04a750053f0aea3a9b947d67f9fdc1892cdfc90a.
2018-03-31 16:59:11 +03:00
Swen Kooij
04a750053f
Use standard postgres on Scrutinizer
2018-03-31 16:56:01 +03:00
Swen Kooij
d25b1b92fe
Merge branch 'master' of https://github.com/SectorLabs/django-localized-fields
2018-03-31 16:53:48 +03:00
Swen Kooij
ccc46e1899
Allow raw dicts to be used in update statements
2018-03-31 16:53:10 +03:00
Swen Kooij
9063509817
Merge pull request #47 from MELScience/fix-admin-widget-inline-tabs
...
fix admin widget tabs width in inline formset
2018-03-31 16:47:36 +03:00
Swen Kooij
8fbe3e8680
Merge branch 'master' of https://github.com/SectorLabs/django-localized-fields
2018-03-31 16:42:08 +03:00
Swen Kooij
b9f14322be
Bump version to 4.6a2
2018-03-31 16:40:50 +03:00
Swen Kooij
24974b2f6b
Upgrade django-postgres-extra to 1.21a7
2018-03-31 16:40:29 +03:00
Swen Kooij
af02593ebd
Add test to make sure LocalizedValue doesn't cast values to string
2018-03-31 08:52:12 +03:00
seroy
f161b5d047
fix admin widget tabs width in inline formset
2018-03-01 13:22:54 +03:00
Swen Kooij
77f626fc69
Merge pull request #46 from MELScience/fix-admin-widget-inline
...
fix admin widget work with inline formsets
2018-02-20 09:14:40 +02:00
seroy
d7889b0601
use label tag + for attribute instead of a + href for properly work with inline formsets
2018-02-20 00:58:08 +03:00
Swen Kooij
09cd0a8177
Merge pull request #44 from si14/patch-4
...
fix LocalizedValue.deconstruct (wrong module name)
2018-02-04 18:00:48 +02:00
Dmitry Groshev
2a29efdf14
fix LocalizedValue.deconstruct (wrong module name)
2018-01-31 23:59:48 +00:00
Dmitry Groshev
d8eb3394d0
LocalizedFieldsAdminMixin can be used with inlines
...
LocalizedFieldsAdminMixin was inheriting from ModelAdmin. This means in a code like this
```python
class FooInline(LocalizedFieldsAdminMixin, admin.TabularMixin):
pass
```
`__init__` was being resolved to `ModelAdmin.__init__` which is clearly wrong.
2018-01-29 13:39:47 +02:00
Swen Kooij
b27f1535ee
Merge pull request #43 from SectorLabs/fix-test-on-django20
...
Fix test on django20
2018-01-29 13:39:09 +02:00
Swen Kooij
cd844fccec
Add support for tox to run tests against Django 1.X/2.0
2018-01-29 13:34:40 +02:00
seroy
6a4beca193
fix tests on Django 2.0
2018-01-29 13:30:43 +02:00
Swen Kooij
bf0383d742
Upgrade to alpha version of django-postgres-extra (1.21a4)
2018-01-29 12:37:44 +02:00
Swen Kooij
879b857aa5
Merge pull request #41 from MELScience/update-requirements
...
update requirements
2018-01-24 23:53:02 +02:00
seroy
59e8e18b2a
update requirements
2018-01-22 01:19:23 +03:00
Swen Kooij
11cfe5b6e1
Add unaizalakain to the contributor list
2017-07-18 15:47:07 +03:00
Swen Kooij
084f5dd0b6
Merge pull request #36 from MELScience/issue35
...
Fix non-valid HTML tags attributes
2017-07-18 14:37:11 +03:00
Swen Kooij
83605cde13
Merge pull request #37 from MELScience/gitignore
...
Gitignore
2017-07-18 14:36:46 +03:00
seroy
7437b58f20
Ignore PyCharm
2017-07-18 14:17:45 +03:00
seroy
db6664c84f
Remove wrong filename
2017-07-18 14:16:46 +03:00