Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 287e4421c9 | |||
| aa57797297 | |||
| 2667e96549 | |||
| 22dbcd206b | |||
| aaf586721d | |||
| d5c14ef3f4 | |||
| 93dfb07af9 | |||
| 8e734864c2 | |||
| d1cb3c11aa | |||
| 82923f9e98 | |||
| 8de47f2ecb |
@@ -0,0 +1,6 @@
|
|||||||
|
github: [fabiocaccamo]
|
||||||
|
patreon: fabiocaccamo
|
||||||
|
ko_fi: fabiocaccamo
|
||||||
|
liberapay: fabiocaccamo
|
||||||
|
issuehunt: fabiocaccamo
|
||||||
|
custom: ['https://www.paypal.me/fabiocaccamo']
|
||||||
+60
-113
@@ -4,151 +4,98 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [0.11.1] - 2019-09-04
|
## [0.12.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.12.0) - 2019-12-02
|
||||||
- Added language chooser display option
|
- Added python 3.8 and django 3.0 compatibility.
|
||||||
|
|
||||||
## [0.11.0] - 2019-09-03
|
## [0.11.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.11.2) - 2019-09-27
|
||||||
- Added language chooser
|
- Fixed select2 background color.
|
||||||
|
|
||||||
## [0.10.5] - 2019-05-09
|
## [0.11.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.11.1) - 2019-09-04
|
||||||
|
- Added language chooser display option.
|
||||||
|
|
||||||
|
## [0.11.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.11.0) - 2019-09-03
|
||||||
|
- Added language chooser.
|
||||||
|
|
||||||
|
## [0.10.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.5) - 2019-05-09
|
||||||
- Fixed broken migration on postgres/windows. #52
|
- Fixed broken migration on postgres/windows. #52
|
||||||
|
|
||||||
## [0.10.4] - 2019-03-29
|
## [0.10.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.4) - 2019-03-29
|
||||||
- Added django 2.2 to tox and travis.
|
- Added django 2.2 to tox and travis.
|
||||||
- Fixed admin duplicated count query.
|
- Fixed admin duplicated count query.
|
||||||
- Added admin theme caching to remove duplicated queries. #19
|
- Added admin theme caching to remove duplicated queries. #19
|
||||||
- Added django-dynamic-raw-id support. #61
|
- Added django-dynamic-raw-id support. #61
|
||||||
- Updated app title italian localization.
|
- Updated app title italian localization.
|
||||||
|
|
||||||
## [0.10.3] - 2019-03-28
|
## [0.10.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.3) - 2019-03-28
|
||||||
- Fixed idempotent deploy support. #40
|
- Fixed idempotent deploy support. #40
|
||||||
|
|
||||||
## [0.10.2] - 2019-03-22
|
## [0.10.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.2) - 2019-03-22
|
||||||
- Fixed raw-id-field whith django-admin-interface. #58
|
- Fixed raw-id-field whith django-admin-interface. #58
|
||||||
|
|
||||||
## [0.10.1] - 2019-03-20
|
## [0.10.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.1) - 2019-03-20
|
||||||
- Updated french localization.
|
- Updated french localization.
|
||||||
|
|
||||||
## [0.10.0] - 2019-02-21
|
## [0.10.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.0) - 2019-02-21
|
||||||
- Updated messages.
|
- Updated messages.
|
||||||
- Added related modal close button. #45
|
- Added related modal close button. #45
|
||||||
- Updated fields verbose names.
|
- Updated fields verbose names.
|
||||||
- Added environment options. #56
|
- Added environment options. #56
|
||||||
|
|
||||||
## [0.9.3] - 2019-02-06
|
## [0.9.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.3) - 2019-02-06
|
||||||
- Enabled travis pip cache.
|
- Enabled travis pip cache.
|
||||||
- Splitted tests to multiple files.
|
- Splitted tests to multiple files.
|
||||||
- Added env badge to favicon.
|
- Added env badge to favicon.
|
||||||
|
|
||||||
## [0.9.2] - 2019-01-11
|
## [0.9.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.2) - 2019-01-11
|
||||||
- Fixed cancel button does not work. #53
|
- Fixed cancel button does not work. #53
|
||||||
- Fixed IntegrityError on postgres
|
- Fixed IntegrityError on postgres
|
||||||
|
|
||||||
## [0.9.1] - 2019-01-11
|
## [0.9.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.1) - 2019-01-11
|
||||||
- Fixed missing migration. #51
|
- Fixed missing migration. #51
|
||||||
|
|
||||||
## [0.9.0] - 2018-11-13
|
## [0.9.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.0) - 2018-11-13
|
||||||
- Added French localization.
|
- Added French localization.
|
||||||
- Added Italian localization.
|
- Added Italian localization.
|
||||||
- Added Spanish localization.
|
- Added Spanish localization.
|
||||||
- Added internationalization support.
|
- Added internationalization support.
|
||||||
|
|
||||||
## [0.8.2] - 2018-10-24
|
## [0.8.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.8.2) - 2018-10-24
|
||||||
## [0.8.1] - 2018-10-11
|
## [0.8.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.8.1) - 2018-10-11
|
||||||
## [0.8.0] - 2018-08-31
|
## [0.8.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.8.0) - 2018-08-31
|
||||||
## [0.7.0] - 2018-02-06
|
## [0.7.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.7.0) - 2018-02-06
|
||||||
## [0.6.3] - 2018-02-05
|
## [0.6.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.3) - 2018-02-05
|
||||||
## [0.6.2] - 2018-02-01
|
## [0.6.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.2) - 2018-02-01
|
||||||
## [0.6.1] - 2018-01-31
|
## [0.6.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.1) - 2018-01-31
|
||||||
## [0.6.0] - 2017-11-23
|
## [0.6.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.0) - 2017-11-23
|
||||||
## [0.5.9] - 2017-10-04
|
## [0.5.9](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.9) - 2017-10-04
|
||||||
## [0.5.8] - 2017-09-29
|
## [0.5.8](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.8) - 2017-09-29
|
||||||
## [0.5.7] - 2017-09-29
|
## [0.5.7](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.7) - 2017-09-29
|
||||||
## [0.5.6] - 2017-09-29
|
## [0.5.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.6) - 2017-09-29
|
||||||
## [0.5.5] - 2017-09-27
|
## [0.5.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.5) - 2017-09-27
|
||||||
## [0.5.4] - 2017-09-27
|
## [0.5.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.4) - 2017-09-27
|
||||||
## [0.5.3] - 2017-08-24
|
## [0.5.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.3) - 2017-08-24
|
||||||
## [0.5.2] - 2017-07-13
|
## [0.5.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.2) - 2017-07-13
|
||||||
## [0.5.1] - 2017-06-13
|
## [0.5.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.1) - 2017-06-13
|
||||||
## [0.5.0] - 2017-06-09
|
## [0.5.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.0) - 2017-06-09
|
||||||
## [0.4.6] - 2017-05-24
|
## [0.4.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.6) - 2017-05-24
|
||||||
## [0.4.5] - 2017-05-19
|
## [0.4.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.5) - 2017-05-19
|
||||||
## [0.4.4] - 2017-05-18
|
## [0.4.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.4) - 2017-05-18
|
||||||
## [0.4.3] - 2017-05-16
|
## [0.4.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.3) - 2017-05-16
|
||||||
## [0.4.2] - 2017-05-11
|
## [0.4.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.2) - 2017-05-11
|
||||||
## [0.4.1] - 2017-05-04
|
## [0.4.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.1) - 2017-05-04
|
||||||
## [0.4.0] - 2017-04-14
|
## [0.4.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.0) - 2017-04-14
|
||||||
## [0.3.2] - 2017-03-29
|
## [0.3.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.3.2) - 2017-03-29
|
||||||
## [0.3.1] - 2017-03-29
|
## [0.3.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.3.1) - 2017-03-29
|
||||||
## [0.3.0] - 2017-02-09
|
## [0.3.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.3.0) - 2017-02-09
|
||||||
## [0.2.1] - 2016-11-08
|
## [0.2.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.2.1) - 2016-11-08
|
||||||
## [0.2.0] - 2016-09-10
|
## [0.2.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.2.0) - 2016-09-10
|
||||||
## [0.1.9] - 2016-09-04
|
## [0.1.9](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.9) - 2016-09-04
|
||||||
## [0.1.8] - 2016-08-05
|
## [0.1.8](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.8) - 2016-08-05
|
||||||
## [0.1.7] - 2016-06-29
|
## [0.1.7](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.7) - 2016-06-29
|
||||||
## [0.1.6] - 2016-04-13
|
## [0.1.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.6) - 2016-04-13
|
||||||
## [0.1.5] - 2016-02-24
|
## [0.1.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.5) - 2016-02-24
|
||||||
## [0.1.4] - 2016-02-15
|
## [0.1.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.4) - 2016-02-15
|
||||||
## [0.1.3] - 2015-12-03
|
## [0.1.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.3) - 2015-12-03
|
||||||
## [0.1.2] - 2015-11-25
|
## [0.1.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.2) - 2015-11-25
|
||||||
## [0.1.1] - 2015-11-13
|
## [0.1.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.1) - 2015-11-13
|
||||||
|
## [0.0.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.0.1) - 2015-11-13
|
||||||
## [0.0.1] - 2015-11-13
|
|
||||||
### Added
|
|
||||||
- Added setup files to make the package installable using pip.
|
|
||||||
- Added ckeditor light skin.
|
|
||||||
- Added support to dropdown list filter.
|
|
||||||
- Added post_migrate handler to create the default theme after install.
|
|
||||||
|
|
||||||
[0.11.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.11.1
|
|
||||||
[0.11.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.11.0
|
|
||||||
[0.10.5]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.5
|
|
||||||
[0.10.4]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.4
|
|
||||||
[0.10.3]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.3
|
|
||||||
[0.10.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.2
|
|
||||||
[0.10.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.1
|
|
||||||
[0.10.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.10.0
|
|
||||||
[0.9.3]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.3
|
|
||||||
[0.9.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.2
|
|
||||||
[0.9.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.1
|
|
||||||
[0.9.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.9.0
|
|
||||||
[0.8.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.8.2
|
|
||||||
[0.8.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.8.1
|
|
||||||
[0.8.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.8.0
|
|
||||||
[0.7.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.7.0
|
|
||||||
[0.6.3]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.3
|
|
||||||
[0.6.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.2
|
|
||||||
[0.6.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.1
|
|
||||||
[0.6.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.6.0
|
|
||||||
[0.5.9]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.9
|
|
||||||
[0.5.8]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.8
|
|
||||||
[0.5.7]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.7
|
|
||||||
[0.5.6]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.6
|
|
||||||
[0.5.5]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.5
|
|
||||||
[0.5.4]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.4
|
|
||||||
[0.5.3]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.3
|
|
||||||
[0.5.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.2
|
|
||||||
[0.5.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.1
|
|
||||||
[0.5.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.5.0
|
|
||||||
[0.4.6]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.6
|
|
||||||
[0.4.5]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.5
|
|
||||||
[0.4.4]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.4
|
|
||||||
[0.4.3]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.3
|
|
||||||
[0.4.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.2
|
|
||||||
[0.4.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.1
|
|
||||||
[0.4.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.4.0
|
|
||||||
[0.3.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.3.2
|
|
||||||
[0.3.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.3.1
|
|
||||||
[0.3.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.3.0
|
|
||||||
[0.2.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.2.1
|
|
||||||
[0.2.0]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.2.0
|
|
||||||
[0.1.9]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.9
|
|
||||||
[0.1.8]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.8
|
|
||||||
[0.1.7]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.7
|
|
||||||
[0.1.6]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.6
|
|
||||||
[0.1.5]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.5
|
|
||||||
[0.1.4]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.4
|
|
||||||
[0.1.3]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.3
|
|
||||||
[0.1.2]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.2
|
|
||||||
[0.1.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.1.1
|
|
||||||
[0.0.1]: https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.0.1
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
[](https://travis-ci.org/fabiocaccamo/django-admin-interface)
|
[](https://travis-ci.org/fabiocaccamo/django-admin-interface)
|
||||||
[](https://codecov.io/gh/fabiocaccamo/django-admin-interface)
|
|
||||||
[](https://www.codacy.com/app/fabiocaccamo/django-admin-interface)
|
[](https://www.codacy.com/app/fabiocaccamo/django-admin-interface)
|
||||||
[](https://badge.fury.io/py/django-admin-interface)
|
[](https://badge.fury.io/py/django-admin-interface)
|
||||||
[](https://img.shields.io/pypi/dm/django-admin-interface.svg)
|
[](https://img.shields.io/pypi/dm/django-admin-interface.svg)
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from admin_interface.models import Theme
|
||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
from admin_interface.models import Theme
|
|
||||||
|
|
||||||
|
|
||||||
class ThemeAdmin(admin.ModelAdmin):
|
class ThemeAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
|
|||||||
@@ -2,14 +2,16 @@
|
|||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.db import models
|
from admin_interface.cache import del_cached_active_theme
|
||||||
from django.db.models.signals import post_delete, post_save, pre_save
|
|
||||||
from django.utils.encoding import python_2_unicode_compatible, force_text
|
|
||||||
from django.utils.translation import ugettext_lazy as _
|
|
||||||
|
|
||||||
from colorfield.fields import ColorField
|
from colorfield.fields import ColorField
|
||||||
|
|
||||||
from admin_interface.cache import del_cached_active_theme
|
from django.db import models
|
||||||
|
from django.db.models.signals import post_delete, post_save, pre_save
|
||||||
|
from django.utils.encoding import force_text
|
||||||
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
from six import python_2_unicode_compatible
|
||||||
|
|
||||||
|
|
||||||
@python_2_unicode_compatible
|
@python_2_unicode_compatible
|
||||||
|
|||||||
@@ -135,6 +135,10 @@ body.admin-interface .paginator a.showall:visited {
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.admin-interface .file-thumbnail > a {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.admin-interface .aligned p.file-upload {
|
.admin-interface .aligned p.file-upload {
|
||||||
display:table;
|
display:table;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -269,3 +269,7 @@
|
|||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.admin-interface .select2-container--admin-autocomplete .select2-results__option--highlighted[aria-selected] {
|
||||||
|
background-color: {{ theme.css_header_background_color }};
|
||||||
|
}
|
||||||
|
|||||||
@@ -54,12 +54,11 @@ def get_admin_interface_languages(context):
|
|||||||
for language in settings.LANGUAGES:
|
for language in settings.LANGUAGES:
|
||||||
lang_code = language[0].lower()
|
lang_code = language[0].lower()
|
||||||
lang_name = language[1].title()
|
lang_name = language[1].title()
|
||||||
with translation.override(lang_code):
|
|
||||||
lang_data = {
|
lang_data = {
|
||||||
'code': lang_code,
|
'code': lang_code,
|
||||||
'name': lang_name,
|
'name': lang_name,
|
||||||
'default': bool(lang_code == default_lang_code),
|
'default': lang_code == default_lang_code,
|
||||||
'active': bool(lang_code == current_lang_code),
|
'active': lang_code == current_lang_code,
|
||||||
'activation_url': '{}?next=/{}{}'.format(
|
'activation_url': '{}?next=/{}{}'.format(
|
||||||
set_language_url, lang_code, admin_nolang_url)
|
set_language_url, lang_code, admin_nolang_url)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
__version__ = '0.11.1'
|
__version__ = '0.11.2'
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
django-colorfield
|
||||||
|
django-flat-theme
|
||||||
|
django-flat-responsive
|
||||||
|
six>=1.9.0
|
||||||
@@ -37,6 +37,7 @@ setup(
|
|||||||
'django-colorfield >= 0.1, < 1.0',
|
'django-colorfield >= 0.1, < 1.0',
|
||||||
'django-flat-theme >= 1.0, < 2.0',
|
'django-flat-theme >= 1.0, < 2.0',
|
||||||
'django-flat-responsive >= 1.0, < 3.0',
|
'django-flat-responsive >= 1.0, < 3.0',
|
||||||
|
'six >= 1.9.0, < 2.0.0',
|
||||||
],
|
],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
@@ -50,6 +51,7 @@ setup(
|
|||||||
'Framework :: Django :: 2.0',
|
'Framework :: Django :: 2.0',
|
||||||
'Framework :: Django :: 2.1',
|
'Framework :: Django :: 2.1',
|
||||||
'Framework :: Django :: 2.2',
|
'Framework :: Django :: 2.2',
|
||||||
|
'Framework :: Django :: 3.0',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
'License :: OSI Approved :: MIT License',
|
'License :: OSI Approved :: MIT License',
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
@@ -61,6 +63,7 @@ setup(
|
|||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
|
'Programming Language :: Python :: 3.8',
|
||||||
'Topic :: Software Development :: Build Tools',
|
'Topic :: Software Development :: Build Tools',
|
||||||
],
|
],
|
||||||
license='MIT',
|
license='MIT',
|
||||||
|
|||||||
@@ -3,8 +3,9 @@ envlist =
|
|||||||
py27-{dj17,dj18,dj19,dj110,dj111}-{sqlite,postgres},
|
py27-{dj17,dj18,dj19,dj110,dj111}-{sqlite,postgres},
|
||||||
py34-{dj17,dj18,dj19,dj110,dj111,dj20}-{sqlite,postgres},
|
py34-{dj17,dj18,dj19,dj110,dj111,dj20}-{sqlite,postgres},
|
||||||
py35-{dj18,dj19,dj110,dj111,dj20,dj21,dj22}-{sqlite,postgres},
|
py35-{dj18,dj19,dj110,dj111,dj20,dj21,dj22}-{sqlite,postgres},
|
||||||
py36-{dj18,dj19,dj110,dj111,dj20,dj21,dj22,djmaster}-{sqlite,postgres},
|
py36-{dj18,dj19,dj110,dj111,dj20,dj21,dj22,dj30,djmaster}-{sqlite,postgres},
|
||||||
py37-{dj20,dj21,dj22,djmaster}-{sqlite,postgres},
|
py37-{dj20,dj21,dj22,dj30,djmaster}-{sqlite,postgres},
|
||||||
|
py38-{dj22,dj30,djmaster}-{sqlite,postgres},
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = CI TRAVIS TRAVIS_*
|
passenv = CI TRAVIS TRAVIS_*
|
||||||
deps =
|
deps =
|
||||||
@@ -16,6 +17,7 @@ deps =
|
|||||||
dj20: Django >= 2.0, < 2.1
|
dj20: Django >= 2.0, < 2.1
|
||||||
dj21: Django >= 2.1, < 2.2
|
dj21: Django >= 2.1, < 2.2
|
||||||
dj22: Django >= 2.2, < 2.3
|
dj22: Django >= 2.2, < 2.3
|
||||||
|
dj30: Django >= 3.0, < 3.1
|
||||||
djmaster: https://github.com/django/django/archive/master.tar.gz
|
djmaster: https://github.com/django/django/archive/master.tar.gz
|
||||||
# mysql: mysqlclient
|
# mysql: mysqlclient
|
||||||
postgres: psycopg2-binary
|
postgres: psycopg2-binary
|
||||||
|
|||||||
Reference in New Issue
Block a user