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
Mateu Cànaves
73fdfdff8e
Resolved conflicts
2017-04-18 12:19:40 +02:00
Adnan Umer
ab12904826
Migrated to TEMPLATES settings
2017-04-17 15:54:16 +05:00
Adnan Umer
a21ed181fe
Unit Tests for CachedLoader
2017-04-17 15:53:56 +05:00
Adnan Umer
8634634b1c
Django 1.9 Support
2017-04-17 15:52:37 +05:00
Gary Reynolds
090f5b3ef7
Bump version: 1.7.0 → 1.8.0
2017-04-17 15:03:59 +05:00
Gary Reynolds
6b8d41469a
Updates for Django 1.11
2017-04-17 15:03:59 +05:00
Stéphane Raimbault
6f6c871a0c
Fix documentation about custom management commands ( #464 )
2017-04-17 15:03:59 +05:00
Stéphane Raimbault
36e1ba3800
Django 1.11 support ( #463 )
...
* Added Django 1.11 to Travis
- related to #435
- 😉 to tomturner/django-tenants#120
* Replace direct use of import_module by proper load_backend
Handle new 'django.db.backends.postgresql' name (Django 1.9)
* Fix 'default' already present in _fields in Django 1.11
* Fix not existing access to original_backend.DatabaseError (Django 1.11)
Removed exports because django.db.utils.DatabaseError and
django.db.utils.IntegrityError must be used instead.
This change must be stated in release notes.
* The signature of DatabaseWrapper._cursor has changed in Django 1.11
Use the public API
* Add missing allowed hosts for tests
* Don't override default user or blocks Unix socket DB connection
* Updated tox.ini for Django 1.11rc1
* Properly add '.test.com' to ALLOWED_HOSTS in test cases
* Internal tests don't use TenantTestCase so set allowed hosts manually
* Drop Django 1.9 support
Django 1.8 is still within LTS until the end of 2017.
2017-04-17 15:03:59 +05:00