Commit graph

471 commits

Author SHA1 Message Date
Camilo Nova
cb39e746bf Merge pull request #239 from joshkel/patch-1
Update information on template context processors
2017-10-18 12:00:43 -05:00
Josh Kelley
0bd88e2d49 Update information on template context processors
TEMPLATE_CONTEXT_PROCESSORS is deprecated in Django 1.8. This updates the documentation to match.
2017-10-17 21:20:20 -04:00
Camilo Nova
d33df08592 Merge pull request #238 from whs/master
Pack static files into release
2017-10-07 16:14:20 -05:00
Manatsawin Hanmongkolchai
5c8f282755 Pack static files into release 2017-10-02 22:43:45 +07:00
Camilo Nova
03ba898db3 Merge pull request #220 from mpauly/master
Fix for #219
2017-09-06 14:10:15 -05:00
Camilo Nova
c8b7d67f4b Merge pull request #233 from whs/master
database: Allow running set while database is not created (close #229)
2017-08-21 08:56:00 -05:00
Manatsawin Hanmongkolchai
0e38ae7ce1 database: Allow running set while database is not created 2017-08-20 19:44:16 +07:00
Camilo Nova
f0defe80fa Merge pull request #231 from whs/master
Moved inline css/javascripts out to their own files
2017-08-09 18:53:05 -05:00
Manatsawin Hanmongkolchai
c8568b3f6b Moved inline css/javascripts out to their own files 2017-08-09 19:44:48 +07:00
Camilo Nova
5ec5ac7991 Merge pull request #230 from whs/master
database: Ignore operation errors (#229)
2017-08-08 09:02:38 -05:00
Manatsawin Hanmongkolchai
f8aad0c7f6 Also ignore ProgrammingError for Postgres 2017-08-08 18:39:01 +07:00
Manatsawin Hanmongkolchai
bbfa8fa7dc database: Ignore operation errors (#229) 2017-08-07 23:56:20 +07:00
Martin Pauly
3f5fc73409 Use admin_site property of ModelAdmin, to make sure that the correct list of apps is used 2017-06-02 23:27:20 +02: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