Commit Graph

624 Commits

Author SHA1 Message Date
Frédéric Péters d05d6603ff setup: also consider lightweight tags to create version number 2017-08-27 09:41:09 +02:00
Frédéric Péters 76f2058c33 Merge remote-tracking branch 'github/master' 2017-08-27 00:10:26 +02: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
Gary Reynolds 71019cded9 Bump version: 1.7.0 → 1.8.0 2017-04-16 22:57:06 +10:00
Gary Reynolds 42ef023436 Updates for Django 1.11 2017-04-16 22:35:33 +10:00
Stéphane Raimbault 8faa5a74bb Fix documentation about custom management commands (#464) 2017-04-12 15:08:55 +10:00
Stéphane Raimbault 1cb00dc6db 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-12 15:06:19 +10:00
viatrak 8cb4d174a6 Update tests to reflect new IDs in Errors and Warnings 2017-03-24 12:19:52 -05:00
viatrak 8f1480ad62 Add IDs to system checks. Can now be used in SILENCED_SYSTEM_CHECKS 2017-03-24 11:56:00 -05:00
Stéphane Raimbault cf154c6463 Upgrade installation documentation for Django 1.8+ 2017-03-21 14:59:42 +01:00
Adnan Umer 26692945c1 Updated Django 1.10 Version Check 2017-03-16 00:52:07 +05:00
Adnan Umer d2df0951a2 Django 1.10 Support 2017-03-16 00:47:17 +05:00
Mateu Cànaves 45157bf459 Update docs with new command info 2017-03-10 16:11:15 +01:00
Mateu Cànaves c5c1f06d71 Added parallel migration executor to tox and travis 2017-03-10 16:09:59 +01:00
Mateu Cànaves 323cfcd38a Add migration executors 2017-03-10 16:06:03 +01:00
João Ricardo Lourenço 2630ecbee4 Fix assert 2017-03-09 16:37:44 +00:00