Mariusz Felisiak
9227d469eb
Removed deprecated TEMPLATE_CONTEXT_PROCESSORS setting. ( #206 )
2017-05-08 09:10:41 +02: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
Mariusz Felisiak
46b7a02365
Removed unnecessary bytes encode.
2017-01-31 18:08:04 +01: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
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
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
5d299f6222
Added test of form field types
2016-11-27 16:53:43 +13:00
Camilo Nova
b28385f501
Improved coding styles
2016-09-14 12:21:16 -05:00
prokaktus
54b6d55fd5
Fix backend initialization in tests
2016-06-13 04:00:17 +03:00
John Carter
8101d7cc84
Make CONSTANCE_ADDITIONAL_FIELDS more flexible
...
Allow the field config to be a tuple, and allow the config dict to be omitted
2016-03-13 00:05:16 +13:00
Petr Dlouhý
55ddbad52c
Merge remote-tracking branch 'jezdez/master' into custom_fields
2015-11-13 11:44:56 +01:00
Jannis Leidel
c82d76fc28
Fix #115 - stop shadowing the context processor's config variable when rendering the admin change list.
2015-10-01 18:16:39 +02:00
Jannis Leidel
e41710616b
Allow line breaks in config descriptions - Fix #95
2015-09-24 12:21:29 +02:00
Jannis Leidel
e1d27a6250
Merge remote-tracking branch 'chornsby/add-test-utils'
2015-09-24 11:59:55 +02:00
Jannis Leidel
b36aaf8fa6
More test fixes.
2015-09-24 11:56:19 +02:00
Mario Rosa
e1f9e52a08
Compatibility changes.
...
Drop python 2.6, 3.2
Drop Django 1.4, 1.5, 1.6
Remove models.py under constance and move to an appconfig imported file.
2015-08-25 08:14:01 -04:00
Petr Dlouhý
0e447ee3e2
add tests for custom additional fields
2015-06-14 17:34:53 +02:00
Charlie Hornsby
2bbffd5eec
Add test cases for override_config
...
Test usage of override_config in different forms
Ensure flexibility between decorator and context manager
2015-06-02 21:19:13 +03:00
Jannis Leidel
52cbce7a08
Stop requiring six as a depdendency.
...
This is possible now that we require at least a version of Django that ships with six.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2014-11-27 17:53:01 +01:00
Jannis Leidel
fc930442a2
Simplified settings.
2014-11-25 22:20:06 +01:00
Jannis Leidel
69221ba2b4
Renamed config module to base to prevent ambiguity
...
This should fix #80 that is triggered by Django's new strickter import time loading process.
2014-11-21 20:16:39 +01:00
Jannis Leidel
8045678606
Test fixes to run on Django 1.7.
2014-11-21 16:37:12 +01:00
Jannis Leidel
9c975cbe58
Stop using setup.py for running the tests.
2014-11-21 14:48:52 +01:00
Jannis Leidel
4278f64ae1
Only use the external discover runner old Djangos.
2014-11-21 14:29:24 +01:00
Jannis Leidel
520d915527
Fixed import error.
2013-04-12 18:22:28 +02:00
Jannis Leidel
a64859e76b
Actually set STATIC_ROOT.
2013-04-12 18:20:04 +02:00
Jannis Leidel
25d0296c0d
Added some required settings.
2013-04-12 18:17:42 +02:00
Jannis Leidel
bc87847faa
Added forgotten staticfiles.
2013-04-12 18:04:01 +02:00
Jannis Leidel
15553c6244
More test fixes.
2013-04-12 17:53:54 +02:00
Jannis Leidel
36a9c23500
More py3k changes.
2013-04-12 17:34:48 +02:00
Jannis Leidel
89b423fa65
First stab at Python 3 support.
2013-04-12 17:25:11 +02:00
Jannis Leidel
078cf11cd6
Use django-nose just to be a little less exotic.
2013-03-02 16:34:12 +01:00
Jannis Leidel
a622784d2d
Create fake change_config permission to be able to check for it if needed.
2013-03-02 15:43:27 +01:00
Jannis Leidel
c8621c865b
Minor fix.
2013-03-02 15:41:51 +01:00
Jannis Leidel
e144e4336f
Refactored tests to use django-discover-runner and not an own testproject anymore.
2013-02-22 14:58:41 +01:00
Jiri Barton
0d3d4014fa
made compatible with Django 1.4 and Django dev
2012-06-05 16:04:45 +02:00
Jiri Barton
ff7d354f77
added a test for the failing missing keys
2011-07-14 17:42:51 +02:00
Roman Krejcik
4f9d011cd2
test runner compatibility with django 1.4
2011-06-28 12:52:02 +02:00
Ales Zoulek
d17bf804a4
Merge branch 'master' of https://github.com/jezdez/django-constance
2011-01-24 13:33:29 +01:00
Jannis Leidel
1dd0a8b7c9
Added mget method to base backend to fetch all keys in one fell swoop, instead of one by one. Especially useful in the admin.
2010-12-11 16:38:40 +01:00
Jannis Leidel
b1c2847997
Renamed redis backend module to redisd to prevent import conflicts with redis-py.
2010-12-03 07:36:25 +01:00
Ales Zoulek
d833536f48
Fixed: test runner
2010-12-02 11:12:50 +01:00
Jannis Leidel
82e19cec9f
Refactored backend system slightly to have a nicer directory structure. Using the database backend now only requires to add 'constance.backends.database' to INSTALLED_APPS and setting CONSTANCE_BACKEND to 'constance.backends.database.DatabaseBackend'. Also reverted default backend to being the Redis backend.
2010-12-01 19:29:53 +01:00
Jannis Leidel
eea0d2fdf9
Abstracted constance backends to and added a cached database backend. Moved around the settings code and simplified the module loading.
2010-12-01 00:20:23 +01:00
Ales Zoulek
7bf545d7ae
updated admin tests
2010-11-12 15:46:14 +01:00
Ales Zoulek
5275718cc2
refatored test project
2010-11-12 15:38:59 +01:00
Ales Zoulek
1354913997
added tests for admin changelist
2010-11-12 15:06:59 +01:00
Ales Zoulek
d1a88854a3
Added tests for new field types
...
long, unicode, date, time
2010-11-12 14:38:18 +01:00
Jiri Barton
16b649fc4c
added tests for other types
2010-09-03 14:38:43 +02:00
Jiri Barton
392898c6a5
moved settings
2010-08-25 15:08:07 +02:00
Ales Zoulek
344ae771a8
embeded tests in setup.py
2010-08-25 14:58:09 +02:00
Ales Zoulek
c36bf65ab1
tests
2010-08-25 14:55:01 +02:00