Manatsawin Hanmongkolchai
bbfa8fa7dc
database: Ignore operation errors ( #229 )
2017-08-07 23:56:20 +07:00
Jon Dufresne
3162bd656f
Add testing for all supported Python and Django versions
...
Document all supported versions in PyPI using trove classifiers.
Alphabetize classifiers.
Add all supported versions to tox.ini for easy testing. Tidy up tox.ini
by removing defaults for basepython.
Add all supported versions to the Travis CI configuration for CI
testing.
Use Tox-Travis to help build the test matrix as the different versions
of Django do not have complete overlap of Python support.
Update Travis configuration to use built in pip caching support.
https://docs.travis-ci.com/user/caching/#pip-cache
2017-06-02 14:40:07 +02:00
Jon Dufresne
9725bb2a94
Use dict comprehension; available since Python 2.7 ( #217 )
2017-06-02 10:53:08 +02:00
Jannis Leidel
8b8b6569d9
Use original path to constance settings in admin tests.
2017-06-02 10:52:42 +02:00
Bruno Alla
1cce582edc
Fix #187 : Preserve sorting from fieldset config ( #207 )
2017-06-02 10:52:16 +02:00
Jon Dufresne
31c1e7b53c
Rename [wheel] section to [bdist_wheel] as the former is legacy
...
See:
54ddbcc9ce/wheel/bdist_wheel.py (bdist_wheel.py-119) :125
http://pythonwheels.com/
2017-06-02 10:24:41 +02:00
Jon Dufresne
3a1f8a898b
Remove unnecessary calls to dict.keys
...
iter(dict) is equivalent to iter(dict.keys()). Can simply act on the
dict instead. Provides a more concise, Pythonic syntax and avoids an
unnecessary function call.
Inspired by Lennart Regebro's presentation "Prehistoric Patterns in
Python" at PyCon 2017. Available at:
https://www.youtube.com/watch?v=V5-JH23Vk0I
2017-06-02 10:23:21 +02:00
Camilo Nova
4268ea808a
Merge pull request #213 from felixxm/cleanup-unused
...
Removed unused variables and imports.
2017-05-25 14:38:42 -05:00
Camilo Nova
98fef54678
Merge pull request #212 from felixxm/timedelta-support
...
Fixed #211 -- Added datetime.timedelta support.
2017-05-25 14:38:20 -05:00
Mariusz Felisiak
3af72e167b
Removed unused variables and imports.
2017-05-25 14:02:52 +02:00
Mariusz Felisiak
fc5a32f2ac
Fixed #211 -- Added datetime.timedelta support.
2017-05-25 13:50:27 +02:00
Camilo Nova
edbca6dd93
Merge pull request #208 from founders4schools/tox/py36
...
Add python 3.6 to build matrix
2017-05-16 15:05:48 -05:00
Bruno Alla
737fa37ae4
Run Django 1.11 tests with Python 3.6
2017-05-16 14:36:03 +01:00
Bruno Alla
3eef317761
Add python 3.6 to Tox file
...
A bit more is needed to add it to travis
2017-05-16 13:44:53 +01:00
Mariusz Felisiak
9227d469eb
Removed deprecated TEMPLATE_CONTEXT_PROCESSORS setting. ( #206 )
2017-05-08 09:10:41 +02:00
Mariusz Felisiak
8ade314f51
Removed Django 1.11 from the allowed failures. ( #205 )
2017-05-08 09:10:11 +02:00
Camilo Nova
1b2cbb070d
Merge pull request #203 from OdifYltsaeb/master
...
Added Estonian translations
2017-04-13 09:53:24 -05:00
Alan Kesselmann
47b8394a43
Added .mo file too
2017-04-10 14:03:19 +03:00
Alan Kesselmann
09f2dc7d69
Added Estonian translations
2017-04-10 13:38:27 +03:00
Camilo Nova
161c1d34be
Bump version
2017-02-17 08:16:34 -05:00
Camilo Nova
a946f92ab3
Happy 2007
2017-02-17 08:06:06 -05:00
Camilo Nova
6da21af5ae
Merge pull request #195 from jazzband/updated_signal
...
Added the old value to the config_updated signal
2017-02-16 16:07:34 -05:00
Camilo Nova
484ab41132
Merge pull request #198 from Kerl13/master
...
Add a `get_changelist_form` hook in `ConstanceAdmin`
2017-02-15 14:57:23 -05:00
Martin Pépin
cb3df533c8
typo
2017-02-14 02:28:47 +01:00
Martin Pépin
49656c055c
Updates the doc according to the last commit
2017-02-14 02:20:26 +01:00
Martin Pépin
be65f6536a
Add a get_changelist_form hook in the ModelAdmin
...
This method is used in the `changelist_view` to get the changelist form.
You may want to override this method to get a different form depending
on the user that makes the request. For example:
class MyConstanceAdmin(ConstanceAdmin):
def get_changelist_form(self, request):
if request.user.is_superuser:
return SuperuserForm:
else:
return super(MyConstanceAdmin, self).get_changelist_form(request)
2017-02-14 02:15:39 +01:00
Camilo Nova
baab89f4ac
Merge pull request #197 from ZenHeads/master
...
Fix create_perm in apps.py to use database alias given by the post_migrate signal
2017-02-07 10:03:09 -05:00
Laszlo Ratsko
3ba4780a13
Fix create_perm in apps.py to use database alias given by the post_migrate signal
2017-02-05 13:27:07 +01:00
Camilo Nova
61d32d2f9e
Merge pull request #196 from felixxm/issue-django2.0-stdout-bytes
...
Removed unnecessary `stdout` bytes encode.
2017-02-02 07:58:42 -05:00
Mariusz Felisiak
46b7a02365
Removed unnecessary bytes encode.
2017-01-31 18:08:04 +01:00
Camilo Nova
2fde4f4d83
Added the old value to the config_updated signal
2017-01-31 10:41:55 -05:00
Camilo Nova
d008017fd0
Merge pull request #194 from felixxm/issue-django2.0-include-compatibility
...
Fixed Django 2.0 tests due to `django.conf.urls.include` behavior change. Removed pypy for Django 2.0 tests.
2017-01-31 08:37:30 -05:00
Mariusz Felisiak
a691e9e97c
Fixed Django 2.0 tests due to django.conf.urls.include behavior change.
...
Removed pypy for Django 2.0 tests.
2017-01-29 15:08:52 +01:00
Camilo Nova
e16657567f
Merge pull request #193 from felixxm/issue-bumped-django
...
Fixed travis configuration. Bumped Django versions.
2017-01-28 16:26:56 -05:00
Mariusz Felisiak
661b78da0b
Fixed travis configuration. Bumped Django versions.
2017-01-27 22:48:41 +01:00
Rares Vernica
bddb6cd2ac
Fix *Reset to default* to work with boolean/checkboxes ( #191 )
...
* Fix *Reset to default* to work with boolean/checkboxes
* Add field name to each config value
* Check field name and use *checked* for checkbox and *value* otherwise
Fix #189
* Add and use raw_default and is_checkbox
2017-01-13 08:14:18 +01:00
John Carter
81b723c91b
Fix handling of MultiValueField's (eg SplitDateTimeField) on the command line. Fixes #186 ( #190 )
...
* Added failing test for setting a datetime with cli
Issue #186
* Adding myself to AUTHORS
* Handle MultiValueField in manage command, resolves #186
* newline at end
2017-01-11 09:52:19 +01:00
Camilo Nova
8db90e8087
Bump version
2016-12-23 17:39:01 -05:00
Camilo Nova
563cfdb8ac
Merge pull request #183 from rvernica/reset-default
...
Add "Reset to default" feature
2016-12-01 16:12:45 -05:00
Rares Vernica (cessna, fedora)
588ac2da71
Moved "Remove to default" unded field
2016-12-01 09:40:11 -08:00
Rares Vernica (cessna, fedora)
32c760cc1d
Add "Reset to default" feature
2016-11-30 12:39:55 -08:00
Camilo Nova
7934de8ede
Merge pull request #180 from jazzband/backport_cli_squashed
...
Backport command functonality from django-constance-cli (squashed)
2016-11-30 14:09:30 -05:00
Camilo Nova
c7c1fb3037
Merge pull request #179 from jazzband/additional_fields_fix
...
Additional fields fix
2016-11-30 14:08:13 -05:00
John Carter
e3ea904116
Backport command functonality from django-constance-cli (squashed)
2016-11-27 18:55:21 +13:00
John Carter
8941260617
Fix ChoiceField example - key should be None, not '-----'
2016-11-27 18:18:56 +13:00
John Carter
4599a22bfc
Don't ignore additional fields when creating form
...
Fixes regression from 2f88a1bff2
2016-11-27 17:18:35 +13:00
John Carter
5d299f6222
Added test of form field types
2016-11-27 16:53:43 +13:00
John Carter
0e05de4f9b
Added CONSTANCE_ADDITIONAL_FIELDS to example app
2016-11-27 16:44:33 +13:00
Camilo Nova
7221962b61
Merge pull request #177 from rvernica/patch-1
...
Preserve line breaks in default value
2016-11-24 08:59:03 -05:00
Rares Vernica
6ce7f1a308
Preserve line breaks in default value
2016-11-21 11:39:08 -08:00