13 Commits

Author SHA1 Message Date
Swen Kooij
8cc50889ec Set version back to 5.0a11, it was never released 2019-06-27 13:30:19 +03:00
Swen Kooij
8494615d05 Upgrade django-postgres-extra to 1.22 2019-06-27 13:28:29 +03:00
Swen Kooij
f0541c047b Bump version number to 5.0a12 2019-06-27 13:27:59 +03:00
Swen Kooij
84658f6010 Bump version number to 5.0a10 2019-06-05 23:26:47 +03:00
Swen Kooij
0e29871458 Merge pull request #62 from GabLeRoux/patch-1
Remove extra dot in example integration code
2019-06-05 23:12:43 +03:00
Swen Kooij
ffe235d3ac Merge pull request #66 from martinsvoboda/admin-widget-image
Added the image of admin widget
2019-06-05 23:12:25 +03:00
Swen Kooij
d7db2c58c0 Merge pull request #68 from MELScience/fix-django-22
update to support Django 2.2
2019-06-05 23:11:38 +03:00
Dmitry Groshev
6a7545a910 update to support Django 2.2 2019-05-30 13:11:33 +01:00
Martin Svoboda
11bf4ee88a Added the image of admin widget 2019-05-26 11:12:45 +02:00
Gabriel Le Breton
d3223eca53 Remove extra dot in example integration code 2019-04-23 11:12:29 -04:00
Swen Kooij
f0ac0f7f25 Merge branch 'bump-version' 2019-02-21 12:54:04 +02:00
Swen Kooij
93ffce557c Bump version number to 5.0a9 2019-02-21 12:50:58 +02:00
Swen Kooij
7c432baec7 Upgrade django-postgres-extra to 1.21a16 2019-02-21 12:50:46 +02:00
5 changed files with 10 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ Installation
.. code-block:: bash
INSTALLED_APPS = [
....
...
'django.contrib.postgres',
'localized_fields.apps.LocalizedFieldsConfig'
@@ -369,6 +369,10 @@ To enable widgets in the admin, you need to inherit from ``LocalizedFieldsAdminM
admin.site.register(MyLocalizedModel, MyLocalizedModelAdmin)
.. image:: ./images/admin-widget.png
:alt: The appearance of admin widget
Frequently asked questions (FAQ)
--------------------------------

BIN
images/admin-widget.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -22,6 +22,7 @@ class LocalizedFieldsAdminMixin:
}
js = (
'admin/js/jquery.init.js',
'localized_fields/localized-fields-admin.js',
)

View File

@@ -33,7 +33,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8
setup(
name='django-localized-fields',
version='5.0a8',
version='5.0a11',
packages=find_packages(exclude=['tests']),
include_package_data=True,
license='MIT License',
@@ -44,7 +44,7 @@ setup(
author_email='open-source@sectorlabs.ro',
keywords=['django', 'localized', 'language', 'models', 'fields'],
install_requires=[
'django-postgres-extra>=1.21a15',
'django-postgres-extra>=1.22',
'Django>=1.11',
'deprecation==2.0.3'
],

View File

@@ -1,11 +1,12 @@
[tox]
envlist = py35-dj{111,20,21}, py36-dj{111,20,21}, py37-dj{111,20,21}
envlist = py35-dj{111,20,21,22}, py36-dj{111,20,21,22}, py37-dj{111,20,21,22}
[testenv]
deps =
dj111: Django>=1.11,<1.12
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj22: Django>=2.2,<2.3
-rrequirements/test.txt
setenv =
DJANGO_SETTINGS_MODULE=settings