Bernardo Pires
|
6fe55baa57
|
Merge pull request #305 from nazarewk/appconfigs
Added AppConfig handling to tenant_schemas.utils.app_labels
|
2016-04-15 12:36:30 +02:00 |
Mikuláš Poul
|
bb536708c4
|
Removed the --ignore-missing-schemas option, raising a different exception
|
2016-04-07 17:23:41 +02:00 |
Martin Samsula
|
4d95f7a119
|
router multidb fix
|
2016-03-31 11:09:42 +02:00 |
Bernardo Pires
|
ffc8e09ca9
|
Merge branch 'master' into pr315
|
2016-03-28 16:20:09 +02:00 |
Bernardo Pires
|
3d0e7463f3
|
removed logging from utils
|
2016-03-28 16:17:23 +02:00 |
Bernardo Pires
|
14ff595ebf
|
Merge branch 'master' of github.com:bernardopires/django-tenant-schemas
|
2016-03-28 12:09:47 +02:00 |
Bernardo Pires
|
af631d5fe6
|
Fixed the RemovedInDjango110Warning related to the url patterns from the tutorial. Thanks @mikicz. Fixes #320
|
2016-03-28 12:09:38 +02:00 |
Bernardo Pires
|
3d3c8998c4
|
Merge pull request #327 from ArtProcessors/fix-reverse-19
fix `reverse` for Django 1.9
|
2016-03-28 12:00:07 +02:00 |
Jacob Haslehurst
|
f8f96b169f
|
remove unused imports
|
2016-03-23 12:13:30 +11:00 |
Jacob Haslehurst
|
0be38470e5
|
re-add `prefix` argument to `reverse`
|
2016-03-23 12:13:05 +11:00 |
Jacob Haslehurst
|
2e58510b55
|
explicitly pass kwargs to django reverse
|
2016-03-21 11:43:46 +11:00 |
Jacob Haslehurst
|
c8921aa571
|
fix `reverse` for Django 1.9
`reverse` no longer accepts the `prefix` argument
https://docs.djangoproject.com/en/1.9/ref/urlresolvers/#reverse
|
2016-03-18 15:08:30 +11:00 |
Benjamin Dauvergne
|
35b4473e65
|
setup.py: use our own get_version()
|
2016-03-16 13:42:24 +01:00 |
Frédéric Péters
|
09175cc6d7
|
fix custom content type cache __get__ method (#10308)
|
2016-03-16 11:15:57 +01:00 |
Frédéric Péters
|
e2d86034c2
|
import ContentType, ContentTypeManager from contenttypes module (#10308)
|
2016-03-16 11:15:41 +01:00 |
Benjamin Dauvergne
|
e0c423e1f2
|
clear ContentType on each schema change (fixes #9891)
Also replace the cache dictionnary by a thread local variable to make it safe to
use multitenancy with threads.
|
2016-03-15 16:01:07 +01:00 |
Frédéric Péters
|
d3ea3659e8
|
doc: update link of postgresql schema documentation to latest version
|
2016-03-15 15:17:07 +01:00 |
Frédéric Péters
|
26fd495cf6
|
Merge remote-tracking branch 'github/master'
|
2016-03-14 14:06:28 +01:00 |
Mikuláš Poul
|
538fdf48f1
|
Raising an exception when a schema is missing, added an option to migrate_schemas to ignore this error
|
2016-02-20 21:17:39 +01:00 |
Benjamin Dauvergne
|
db84e52e8f
|
Add 'debian/' from commit 'b502e23454b3124c9f7b6e25374cd9406074bbf9'
git-subtree-dir: debian
git-subtree-mainline: 8bd62ee84f
git-subtree-split: b502e23454
|
2016-02-06 14:52:50 +01:00 |
Gary Reynolds
|
d54c947f70
|
Documentation update.
|
2016-01-21 07:28:44 +11:00 |
Gary Reynolds
|
02517f9a4d
|
Set migration verbosity so as to not spam the output.
|
2016-01-19 17:51:55 +11:00 |
Gary Reynolds
|
920a884a44
|
Update dts_test_project.settings to work with codeship CI
https://codeship.com/documentation/databases/postgresql/#django
|
2016-01-19 17:51:55 +11:00 |
Gary Reynolds
|
21048e3333
|
Update TenantCommandTest.test_command to run under Django 1.8 and 1.9.
|
2016-01-19 17:51:55 +11:00 |
Gary Reynolds
|
57d53c955d
|
Add logging in utils.django_in_test_mode function.
|
2016-01-19 17:51:55 +11:00 |
Gary Reynolds
|
1743b4867b
|
Add LOGGING configuration to test project
|
2016-01-19 17:51:55 +11:00 |
Gary Reynolds
|
9fe1d657f3
|
Add tox.ini
|
2016-01-19 17:51:55 +11:00 |
Bernardo Pires
|
6f2afa0751
|
Updated documentation to remind users to create migrations for the tenant model
|
2015-12-28 17:17:49 +01:00 |
Bernardo Pires
|
3b0ec772dc
|
Fixed test cases for Django 1.9
|
2015-12-28 17:13:13 +01:00 |
Bernardo Pires
|
e4814e483d
|
Added missing tenant tutorial migrations.
|
2015-12-28 16:59:56 +01:00 |
Bernardo Pires
|
3c368ab0d7
|
Merge pull request #313 from bjersey/feature/fix-search-path-in-rollback
must set search_path again after a transaction rollback
|
2015-12-25 10:16:56 +01:00 |
Brian Lao
|
94d325bcf4
|
must set search_path again after a transaction rollback
|
2015-12-17 15:16:19 -05:00 |
Krzysztof Nazarewski
|
d337ce663b
|
moved app_labels() test from docstring to separate TestCase and extended it,
|
2015-11-16 16:41:14 +01:00 |
Krzysztof Nazarewski
|
c61aca19e4
|
Added AppConfig handling to tenant_schemas.utils.app_labels
|
2015-11-10 15:18:16 +01:00 |
Bernardo Pires
|
376746f33c
|
Merge pull request #288 from shabda/patch-1
optimize docs for readability
|
2015-10-03 17:48:34 +02:00 |
Shabda Raaj
|
1e075ef7cc
|
optimize docs for readability
|
2015-10-03 19:13:52 +05:30 |
Bernardo Pires
|
77c91762c0
|
Merge pull request #287 from shabda/patch-1
maintain order of installed_apps
|
2015-10-02 14:05:45 +02:00 |
Shabda Raaj
|
6fd645416b
|
maintain order of installed_apps
|
2015-10-02 16:11:40 +05:30 |
Bernardo Pires
|
ed1d10039c
|
pep8
|
2015-09-19 12:54:59 +02:00 |
Bernardo Pires
|
e8649f3b9b
|
Now checking if app_label is instance of BaseModel instead of not str. Fixes #285.
|
2015-09-19 12:53:18 +02:00 |
Bernardo Pires
|
85ef2f4117
|
Merge pull request #282 from regolith/master
Update allow_migrate() for Django 1.8. Fixes #231 (in 1.8)
|
2015-09-04 17:43:07 +02:00 |
Justin Wunderle
|
d19de3c315
|
Update allow_migrate() for Django 1.8. Fixes #231 (in 1.8)
Django 1.8 will call it for RunPython and RunSQL operations, but we needed to update the method signature to opt-in. (those operations have no model)
See: https://docs.djangoproject.com/en/1.8/releases/1.8/#deprecated-signature-of-allow-migrate
|
2015-09-03 17:54:14 -04:00 |
Bernardo Pires
|
b9cf3cb906
|
Merge pull request #278 from honur/master
make migrate_schemas work for django 1.8
|
2015-08-23 18:00:06 +02:00 |
hov
|
378e4434ca
|
make migrate_schemas work for django 1.8
|
2015-08-23 11:09:00 +04:00 |
Bernardo Pires
|
5e5df125d4
|
Merge branch 'master' of github.com:bernardopires/django-tenant-schemas
|
2015-08-02 11:25:43 +02:00 |
Bernardo Pires
|
d1d146089a
|
Tests and migrate_schemas now function correctly from Django 1.6 to 1.8
|
2015-08-02 11:25:34 +02:00 |
Bernardo Pires
|
b3ebc39bfb
|
Merge pull request #274 from goodtune/list-tenants
Added list_tenants management command
|
2015-08-02 10:37:17 +02:00 |
Bernardo Pires
|
a2f1f6f740
|
Merge branch 'master' of github.com:bernardopires/django-tenant-schemas
|
2015-08-02 10:36:13 +02:00 |
Bernardo Pires
|
32d4f848b6
|
Fixed migrate_schemas not working on Django1.7 and older. Fixes #273 and #272.
|
2015-08-02 10:35:55 +02:00 |
Gary Reynolds
|
77ef08e429
|
Wrap dumpdata in tenant_command - was fixed in 5cdc7ef .
|
2015-08-01 23:14:36 +10:00 |