Christophe Siraut
e1b1afb2cf
set application_name to tenant name ( #7849 )
2020-07-17 16:32:54 +02:00
Frédéric Péters
f8882285de
debian: add package for python 3
2019-08-20 20:53:59 +02:00
Frédéric Péters
cbb539c24f
debian: remove generated files
2019-08-20 20:53:37 +02:00
Christophe Siraut
364e3b2d44
debian: bump debhelper compatibility level ( #32260 )
2019-04-16 14:33:42 +02:00
Benjamin Dauvergne
c5d54b917e
postgresql_backend: fix typo in contenttypes cache access and clear base Content.objects._cache ( #32248 )
2019-04-15 14:00:10 +02:00
Benjamin Dauvergne
68c98a6267
tenant_schemas: augment tests on cache of contenttypes ( #32248 )
2019-04-15 14:00:10 +02:00
Benjamin Dauvergne
22d7ace8c0
postgresql_backend: cache ContentType based on the manager object and model classes ( #32248 )
...
model classes and manager object are duplicated during migrations.
2019-04-12 17:13:46 +02:00
Benjamin Dauvergne
631743c45e
override ContentType.__init__ to use a thread local cache ( fixes #26206 )
2019-04-10 19:13:03 +02:00
Frédéric Péters
df51fe2c3e
misc: adapt version number for PEP 440
2019-01-03 13:35:50 +01:00
Frédéric Péters
154fd2c9bc
Merge branch 'wip/18178-new-sync'
2018-08-13 07:29:59 +02:00
Benjamin Dauvergne
29660eaaeb
debian: only build for python2
2018-08-12 21:40:16 +02:00
Jérôme Schneider
d8f7ca69e9
debian: initial import
2018-08-12 21:40:09 +02:00
Benjamin Dauvergne
08bfb7515e
setup.py: use our own get_version()
2018-08-12 21:38:42 +02:00
Frédéric Péters
b3914c84cf
fix custom content type cache __get__ method ( #10308 )
2018-08-12 21:31:13 +02:00
Benjamin Dauvergne
eb0a27e712
Replace the cache dictionnary by a thread local variable (~ #9891 )
...
This makes it safe to use multitenancy with threads.
2018-08-12 21:31:13 +02:00
Abhishek Menon
1c57786387
Add missing `post_schema_sync` signal documentation
...
I am adding the `post_schema_sync` signal documentation which was missing. Right now the sender is TenantMixin. Although I believe it's better to make the Tenant Model itself as the sender, if that is possible. Your thoughts?
2018-08-12 21:31:13 +02:00
Bernardo Pires
b36e60cbca
Merge pull request #519 from AGASS007/backport/postgres_introspection
...
backported django postgres backend fixes
2018-06-05 10:08:08 +02:00
Guillaume Andreu Sabater
7239b91a47
backported django postgres backend fixes
2017-12-06 16:30:14 +01:00
Michael Anckaert
20c72782ce
Improved documentation on working with and creating tenants ( #514 )
...
* Improved documentation on working with and creating tenants
* Updated documentation according to requested changes
2017-12-01 19:52:16 +11:00
Bernardo Pires
7c95e5fd32
Merge pull request #505 from Viatrak/master
...
Fix ContentType clear_cache() to always happen at a schema change
2017-09-12 12:29:50 +02:00
viatrak
7e104037c9
Content type cache should be cleared not just at the beginning of a request, but *anytime* the schema is changed (which happens in middle of requests). set_tenant() will also now result in a set_schema() call so it will claer_cache() at the beginning of a request, and on subsequent set_schema calls
2017-09-07 12:43:40 -05:00
viatrak
86c4050856
Redundant code in set_tenant as set_schema(). Make it DRY
2017-09-07 12:41:12 -05:00
viatrak
953040943d
Redundant code to set_schema(). Make it DRY
2017-09-07 12:34:11 -05:00
Bernardo Pires
70fef87576
Remove mention to MigrateCommand
2017-06-05 21:00:02 +02:00
Gary Reynolds
5b907e4f05
Bump version: 1.8.0 → 1.9.0
2017-06-03 21:47:55 +10:00
Gary Reynolds
ded62f6566
Merge pull request #484 from goodtune/issue-456
...
Issue 456
2017-06-02 21:16:42 +10:00
Gary Reynolds
8a4d0d6d21
Merge pull request #457 from uadnan/master
...
Django 1.9+ Support for template_loader (fix for #456 )
2017-06-02 21:12:15 +10:00
Gary Reynolds
e256979046
Merge #478 . Fixed #477 .
2017-06-02 18:42:04 +10:00
Gary Reynolds
510e0f9015
Explicitly define INSTALLED_APPS in settings.py
2017-06-02 18:40:03 +10:00
Gary Reynolds
874db6aa25
Merge #462
2017-06-02 18:35:53 +10:00
Gary Reynolds
f0d3df2290
Remove documentation referring to unsupported version.
2017-06-02 18:30:12 +10:00
Stéphane Raimbault
fe8a09588e
Updated tox.ini to final Django 1.11
2017-06-02 18:27:08 +10:00
Gary Reynolds
df359d2bfc
Deal with backwards compatibility by exception.
2017-06-02 18:15:26 +10:00
Gary Reynolds
2abbbdab43
Remove Django 1.9 from testing matrix, unsupported version.
2017-06-02 18:15:25 +10:00
Adnan Umer
c2aa3a1662
Migrated to TEMPLATES settings
2017-06-02 18:15:25 +10:00
Adnan Umer
c1842304c6
Unit Tests for CachedLoader
2017-06-02 18:15:25 +10:00
Adnan Umer
472456d4d2
Django 1.9 Support
2017-06-02 18:15:25 +10:00
Adnan Umer
1fcb491733
Updated Django 1.10 Version Check
2017-06-02 18:15:25 +10:00
Adnan Umer
f258521ebe
Django 1.10 Support
2017-06-02 18:15:25 +10:00
Gary Reynolds
bd99102e2e
Deal with backwards compatibility by exception.
2017-06-02 17:56:37 +10:00
Gary Reynolds
c4e34cdfda
Remove Django 1.9 from testing matrix, unsupported version.
2017-06-02 06:57:55 +10:00
Adnan Umer
24fd09d007
Merge branch 'master' into master
2017-05-26 15:19:05 +05:00
Stéphane Raimbault
4131b5f3ff
Don't run makemigrations until set up is done ( #459 )
2017-05-25 16:08:59 +02:00
Juan Marquez
9466781822
Compatibility with Django 1.11 LTS (Tutorial) #477
...
--------------------------------------------------
Update tenant_tutorial to Django 1.11
To create a PR
2017-05-07 13:00:49 -04:00
Bernardo Pires
4a49516c4a
Updated docs regarding tests
2017-05-06 07:21:48 -05:00
Bernardo Pires
400fdc26f3
Create install.rst
...
Remove outdated setting TENANT_CREATION_FAKES_MIGRATIONS from the docs. Fixes #458 .
2017-05-05 16:15:10 -05:00
Bernardo Pires
ef6e25b8e7
Merge pull request #447 from izimobil/master
...
Fix for issue #446 . Thanks @izimobil!
2017-04-24 20:03:24 +02:00
Bernardo Pires
94e8b6cde4
Merge pull request #466 from Viatrak/master
...
Added IDs to system checks. IDs can now be used in SILENCED_SYSTEM_CHECKS. Thanks @Viatrak
2017-04-23 23:03:42 +02:00
Bernardo Pires
9dd3858dae
Merge pull request #452 from Jorl17/master
...
Added BaseTenantMiddleware for easier custom middleware support. Thanks @Jorl17.
2017-04-23 23:00:35 +02:00
Bernardo Pires
a4fb6cd936
Merge pull request #454 from mcanaves/master
...
Added parallel migrations. Thank you @mcanaves
2017-04-23 22:53:23 +02:00