tests_authentic: adapt to evolutions in authentic2 (#42154)
* django-filters>=2 is now usable with authentic, for py2 run it must be explicitely limited to django-filter<2. * settings must use MIDDLEWARE instead of MIDDLEWARE_CLASSES
This commit is contained in:
parent
540f274c33
commit
225e22747c
|
@ -25,7 +25,7 @@ TENANT_BASE = '/that/path/does/not/exist'
|
|||
|
||||
|
||||
# Add the XForwardedForMiddleware
|
||||
MIDDLEWARE_CLASSES = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLEWARE_CLASSES
|
||||
MIDDLEWARE = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLEWARE
|
||||
|
||||
# Add authentic settings loader
|
||||
TENANT_SETTINGS_LOADERS = ('hobo.multitenant.settings_loaders.Authentic',) + TENANT_SETTINGS_LOADERS
|
||||
|
|
1
tox.ini
1
tox.ini
|
@ -40,6 +40,7 @@ deps:
|
|||
Markdown<3
|
||||
django-tables2<2.0
|
||||
authentic: http://git.entrouvert.org/authentic.git/snapshot/authentic-master.tar.gz
|
||||
py2-authentic: django-filter<2
|
||||
passerelle: http://git.entrouvert.org/passerelle.git/snapshot/passerelle-master.tar.gz
|
||||
py2-passerelle: suds
|
||||
passerelle: python-memcached
|
||||
|
|
Loading…
Reference in New Issue