Commit Graph
100 Commits
Author SHA1 Message Date
Swen KooijandGitHub 084f5dd0b6 Merge pull request #36 from MELScience/issue35
Fix non-valid HTML tags attributes
2017-07-18 14:37:11 +03:00
Swen KooijandGitHub 83605cde13 Merge pull request #37 from MELScience/gitignore
Gitignore
2017-07-18 14:36:46 +03:00
Swen Kooij f434566338 Bump version number to 4.5 2017-07-18 09:40:55 +03:00
Swen Kooij 2807ed10c8 Add target link for the license Badge 2017-07-18 09:40:29 +03:00
Swen KooijandGitHub d5f43c783a Merge pull request #34 from MELScience/widget_refactor
Use template-based widget rendering in AdminLocalizedFieldWidget
2017-07-18 09:39:00 +03:00
Swen KooijandGitHub 5347db6d8f Add contributors list to README 2017-07-18 09:38:51 +03:00
Swen KooijandGitHub 1accee0b59 Merge branch 'master' into widget_refactor 2017-07-18 09:33:59 +03:00
Swen KooijandGitHub 05bcd84a88 Merge pull request #29 from MELScience/required
Improved functionality of required parameter
2017-07-18 09:33:24 +03:00
Swen Kooij 1c2e013695 Add Django 1.11 as a dependency to setup.py
Fixes #32
2017-07-18 09:31:47 +03:00
Swen KooijandGitHub 8b76948328 Merge pull request #33 from MELScience/issue32
Django requirement updated
2017-07-18 09:29:09 +03:00
Swen Kooij 7d629c186d Add basic tests for 'required' attribute 2017-07-16 12:22:48 +03:00
Swen Kooij cff388cae3 Add PEP8 and Flake8 as part of Scrutinizer test 2017-07-15 14:13:51 +03:00
Swen Kooij 08690ab361 Fix outstanding PEP8 and Flake8 issues 2017-07-15 14:06:50 +03:00
Swen Kooij 5ac05efbd0 Slight clean up, use dict instead of {} 2017-07-15 14:04:09 +03:00
Swen Kooij aff41f671a Implement code review suggestions for #29 2017-07-15 13:59:39 +03:00
Swen KooijandGitHub a38d53b609 Merge pull request #30 from SectorLabs/subwidgets-labels
Subwidgets labels
2017-07-15 13:56:29 +03:00
Swen Kooij 968840188d Formatting cleanup in widgets.py 2017-07-15 13:48:54 +03:00
Swen KooijandGitHub d4c24dea97 Merge pull request #28 from MELScience/fix_imports_in_doc
fix imports in README
2017-07-11 11:21:57 +03:00
Swen KooijandGitHub 226d47e766 Merge pull request #27 from MELScience/issue26
Fix incorrect indentation
2017-07-11 10:40:48 +03:00
Swen Kooij d14859a45b Bump version number to 4.4 2017-06-29 18:56:33 +03:00
Swen Kooij cb7fda5abc Merge branch 'master' of https://github.com/SectorLabs/django-localized-fields 2017-06-29 18:52:23 +03:00
Swen Kooij 9000635f1f Open README as UTF-8 2017-06-29 18:51:53 +03:00
Swen KooijandGitHub dabeb3b79f Merge pull request #24 from MELScience/ff_value_to_string
Added `value_to_string` method
2017-06-27 10:49:17 +03:00
Swen Kooij 32696f4e1e Add test that confirms slug is re-computed when value changes 2017-06-26 14:01:25 +03:00
Swen Kooij 3ce57ed4cc Bump version number to 4.3 2017-06-26 13:37:02 +03:00
Swen Kooij 7316d312b4 Add simple test for LOCALIZED_FIELDS_FALLBACKS setting 2017-06-26 13:36:21 +03:00
Swen Kooij 16e23963cc Add support for LOCALIZED_FIELDS_FALLBACKS 2017-06-26 13:27:52 +03:00
Swen Kooij b10472d3e9 Officially deprecate LocalizedAutoSlugField 2017-06-26 13:10:21 +03:00
Swen KooijandGitHub 833ceb849c Update docs on enhanced LocalizedUniqueSlugField 2017-06-26 13:07:18 +03:00
Swen Kooij d7382fbf30 Add support for using a callable to populate slug with 2017-06-26 13:03:41 +03:00
Swen Kooij 8ad9268426 Remove tests for LocalizedAutoSlug 2017-06-26 12:52:42 +03:00
Swen Kooij 96ddc77cfc Fake models now have generated names 2017-06-26 12:44:09 +03:00
Swen Kooij 51fc6959d2 Support for slugging from multiple fields 2017-06-26 12:34:50 +03:00
Swen Kooij 3b28a5e707 Fix PEP8 violations 2017-06-26 11:33:25 +03:00
Swen KooijandGitHub 06873afbda Merge pull request #15 from MELScience/extra-fields
Extra fields
2017-06-21 11:33:30 +03:00
Swen Kooij f7c14f897c Bump version number to 4.2 2017-06-20 18:04:44 +03:00
Swen KooijandGitHub e5e3068835 Merge pull request #22 from MELScience/issue17
Added templates and static folders
2017-06-20 18:03:11 +03:00
Swen Kooij c75c1764e2 Improve test case for bulk_create 2017-05-31 11:38:53 +03:00
Swen Kooij 6736b3b32d Simplify test case for bulk_create 2017-05-31 11:33:20 +03:00
Swen Kooij b97a7f3c23 Fix crash when using LocalizedUniqueSlugField in a bulk_create 2017-05-31 11:31:04 +03:00
Swen Kooij 1b036dc1de Add simple test to verify LocalizedField can be used in bulk_create 2017-05-31 11:19:53 +03:00
Swen Kooij ea7733670d Bump version to 4.1 2017-05-30 16:38:08 +03:00
Swen Kooij a8dc4fe837 Fix bug/typo in LocalizedField.from_db_value 2017-05-30 13:48:43 +03:00
Swen Kooij 3c8bea0fc3 Add test for LocalizedRef in combination with ArrayAgg 2017-05-30 13:47:48 +03:00
Swen Kooij 2741a6a2a2 Add extra tests for LocalizedRef 2017-05-30 13:45:43 +03:00
Swen Kooij 06f7ee15f0 Add LocalizedRef expression for extracting the value in the current language 2017-05-30 13:38:27 +03:00
Swen Kooij e5214b07ae Fix aggregation not expanding into a actual list 2017-05-30 13:07:07 +03:00
Swen Kooij 2d5fe0be05 Fix documentation on INSTALLED_APPS 2017-05-26 17:38:49 +03:00
Swen Kooij 4305696f1b Fix pep8 issue, use two spaces before inline comment 2017-05-26 17:05:52 +03:00
Swen Kooij 8c73c9ab77 Fix some mistakes in the README 2017-05-26 17:05:05 +03:00
Swen Kooij 92a53bc3d7 Fix various pep8/flake8/pylint errors 2017-05-25 19:40:03 +03:00
Swen Kooij 5a4f449363 Fix support for ArrayAgg 2017-05-25 19:23:52 +03:00
Swen Kooij 0fa79ddbb0 Bump version to 4.0 2017-05-25 19:16:35 +03:00
Swen Kooij 2205f9c6a4 Move LocalizedValueTest into dedicated file 2017-05-25 19:16:04 +03:00
Swen Kooij 84c267330f Update docs on new import style 2017-05-25 19:11:39 +03:00
Swen Kooij a1a02552b7 Shorten names for everything 2017-05-25 19:06:44 +03:00
Swen Kooij bb84d7577c BREAKING CHANGE: Empty out __init__
It is bad practice to do this in Django. If somebody imports something
from the package before Django is loaded, you get a 'Apps aren't loaded yet.'
exception.
2017-05-25 18:51:11 +03:00
Swen Kooij 5e0343801f Restore LocalizedModel to its former glory as an convient way to get all the mixins 2017-05-25 18:50:20 +03:00
Swen Kooij 2df2ec8b36 Move LocalizedValueDescriptor into its own file 2017-05-25 18:45:21 +03:00
Swen Kooij 3fcaece894 Add missing docs to LocalizedField.contribute_to_class 2017-05-25 18:14:41 +03:00
Swen Kooij 093a9d58f2 Fix to_python not working with non-json values 2017-05-25 18:11:58 +03:00
Swen Kooij cff22855c2 Revert "LocalizedUniqueSlugField refactored"
This reverts commit 03df76d6d7.
2017-05-25 17:23:39 +03:00
Swen KooijandGitHub bf2995fd27 Merge pull request #16 from MELScience/deserialization
Ability to deserialize string value
2017-04-14 17:19:17 +03:00
Swen KooijandGitHub 366dceaddc Merge pull request #14 from MELScience/app_registry_not_ready
fixed "Apps aren't loaded yet." exception
2017-04-13 09:35:38 +03:00
Swen Kooij 23c6f975d8 Merge remote-tracking branch 'beer/admin_integration' 2017-04-03 14:56:43 +03:00
Swen Kooij a9037b603a Merge remote-tracking branch 'beer/uniqueslug'
# Conflicts:
#	README.rst
#	tests/fake_model.py
2017-04-03 14:54:25 +03:00
Swen Kooij 8b08e5a467 Merge remote-tracking branch 'beer/model_inheritance_free'
# Conflicts:
#	localized_fields/fields/localized_field.py
#	localized_fields/models.py
#	tests/fake_model.py
2017-04-03 14:49:27 +03:00
Swen KooijandGitHub bf90131e4f Merge pull request #12 from SectorLabs/experimental
Add experimental features flag for LocalizedField
2017-03-24 15:13:55 +02:00
Swen KooijandGitHub 5df44b0d62 Merge pull request #7 from MELScience/import_error
fixed "Apps aren't loaded yet." exception
2017-03-22 17:48:18 +02:00
Swen KooijandGitHub 5aef1d791b Merge pull request #9 from MELScience/bleach_import
fixed ImportError if django-bleach not installed
2017-03-22 17:45:25 +02:00
Swen Kooij 3951266747 Bump version to 3.5 2017-03-09 14:32:48 +02:00
Swen Kooij b5f4c43d6b LocalizedValue is now cast-able to dict 2017-03-09 14:32:33 +02:00
Swen Kooij 3d08475468 __eq__ should only compare same types
unless it's a string
2017-03-09 11:59:21 +02:00
Swen Kooij b3d7092b91 Bump version to 3.4 2017-02-28 15:00:13 +02:00
Swen Kooij 97a785e9b0 Upgrade django-postgres-extra to 1.4 2017-02-28 14:59:58 +02:00
Swen Kooij 97c14fd2ba Bump version to 3.3 2017-02-24 14:35:57 +02:00
Swen Kooij 6cb4cdf52e Now inheriting from PostgresModel for upserts 2017-02-24 14:35:29 +02:00
Swen Kooij bcb2ff0092 Bump version to 3.2 2017-02-24 12:29:27 +02:00
Swen Kooij 43a48403e9 LocalizedField should not set required twice 2017-02-24 12:28:56 +02:00
Swen Kooij f453c44a73 Bump version to 3.1 2017-02-23 16:54:55 +02:00
Swen Kooij 3cb8b04195 Update REAMDE on back-end changes 2017-02-23 16:54:34 +02:00
Swen Kooij 3f8fc77c4d Remove pylint plugins, Scrutinizer doesn't like it 2017-02-23 16:48:44 +02:00
Swen Kooij 9245c85e5d Scrutinizer should use PostgreSQL 9.6 2017-02-23 16:43:12 +02:00
Swen Kooij 818a0a2fe3 Test requirements should inherit from base.txt 2017-02-23 16:38:43 +02:00
Swen Kooij c206005cae Add django-postgres-extra 1.2 as a dependency 2017-02-23 16:25:27 +02:00
Swen Kooij 3850c34374 Add scrutinizer-ci configuration 2017-02-23 16:24:52 +02:00
Swen Kooij 99c8830f10 Bump version number to 3.0 2017-02-21 17:37:20 +02:00
Swen Kooij d7bd217a90 Ported to use django-postgres-extra 2017-02-21 17:36:56 +02:00
Swen Kooij b9a4d3be2c Bump version number to 2.9.2 2017-02-16 10:20:09 +02:00
Swen Kooij 6d7a937eac Don't regenerate slug if not needed 2017-02-16 10:13:10 +02:00
Swen Kooij 2e9b83e49b Bump version to 2.9.1 2017-02-16 09:36:34 +02:00
Swen Kooij 679dcafef6 Pop kwargs after calling super constructor 2017-02-16 09:36:26 +02:00
Swen Kooij ad2ef34546 Bump version number to 2.9 2017-02-15 19:29:29 +02:00
Swen Kooij 1317023160 Bump version number to 2.8 2017-02-15 19:13:40 +02:00
Swen Kooij ca6b1c88fa Add option include_time to LocalizedUniqueSlugField 2017-02-15 19:13:19 +02:00
Swen Kooij 64c3c06612 Bumped version number to 2.7 2017-02-09 14:57:25 +02:00
Swen Kooij b121dfc2d7 Added __eq__ operator to LocalizedValue 2017-02-09 14:57:08 +02:00
Swen Kooij d529da8886 Fixed bug with with missing populate_from 2017-02-03 11:14:37 +02:00
Swen Kooij ca879087ea Bumped version to 2.6 2017-02-03 10:41:05 +02:00
Swen Kooij 302a64a02c Updated base classes in documentation 2017-02-03 10:40:37 +02:00