Bernardo Pires
443138938c
updated readme to now contain a short installation guide
2013-12-24 12:38:53 +01:00
Bernardo Pires
0ee3e47323
tenant_command now accepts options from the command to be wrapped. resolves #99
2013-12-22 18:01:51 +01:00
Bernardo Pires
ab9eb6ac3d
Merge pull request #95 from jrutila/zipsafe
...
Added zip safe so that easyinstall will work.
2013-12-22 07:14:25 -08:00
Bernardo Pires
30d6428126
fixed sync_schemas and migrate_schemas not taking arguments
2013-11-24 09:54:30 +01:00
Bernardo Pires
45c32caff3
Merge pull request #90 from aniav/master
...
Fix tests, move from PUBLIC_SCHEMA_URL_TOKEN to PUBLIC_SCHEMA_URLCONF
2013-11-20 07:55:01 -08:00
Juho Rutila
ef3093c1e6
Added zip safe so that easyinstall will work.
2013-11-18 21:50:23 +02:00
Bernardo Pires
9d5a9e6782
fixed get_schema_name not being called get_schema
2013-11-15 09:09:09 +01:00
Bernardo Pires
98f7067f41
readded backwards compatibility (get_schema_name and get_tenant)
2013-11-15 09:01:17 +01:00
Bernardo Pires
36b22bc649
Resolved merge conflicts on docs regarding tenant and schema_name
2013-11-15 09:00:12 +01:00
Bernardo Pires
f7ee9920fb
Merge branch 'master' of github.com:bernardopires/django-tenant-schemas
2013-11-15 07:57:10 +01:00
Walkman
9664056bce
Removed unneccesary PGThread.
...
Django connections are thread locals by default, it's safe to attach
attributes to the DatabaseWrapper, because those are thread safe.
Removed connection.get_schema() and connection.get_tenant() methods,
those were not very pythonic at all. Use connection.schema_name and
connection.tenant properties instead.
2013-11-15 00:50:05 +01:00
Bernardo Pires
75dd212b3f
Merge pull request #91 from aniav/django-1.4
...
Introduce Django 1.4 compatibility
2013-11-11 00:27:50 -08:00
Anna Warzecha
862a7c0f2b
Introduce Django 1.4 compatibility
2013-11-11 01:02:05 +01:00
Anna Warzecha
364fc2a3ff
Remove obsolete setting
2013-11-10 22:47:49 +01:00
Anna Warzecha
8e577e4a8a
Fix tests, move from PUBLIC_SCHEMA_URL_TOKEN to PUBLIC_SCHEMA_URLCONF
2013-11-10 22:42:36 +01:00
Bernardo Pires
447cef034e
fixed small mistakes on the docs
2013-11-03 10:17:29 +01:00
Bernardo Pires
d3e4839b4f
fixed pypi badges
2013-11-03 10:13:24 +01:00
Bernardo Pires
c5004716c8
added missing setting PUBLIC_SCHEMA_NAME to docs
2013-11-03 10:09:24 +01:00
Bernardo Pires
c2aa8e66b3
now using proper codeblocks for docs
2013-11-03 10:03:37 +01:00
Bernardo Pires
ff6932bdaa
added pypi badges
2013-11-03 09:59:13 +01:00
Bernardo Pires
e5ffdad251
updated and fixed docs styling
2013-11-03 09:54:30 +01:00
Bernardo Pires
6407150709
readded missing transaction.commit_unless_managed() for custom sql
2013-10-30 08:06:37 +01:00
Bernardo Pires
16cd27711e
fixed tenant sync failing because row doesnt exist
2013-10-30 08:06:19 +01:00
Bernardo Pires
65571f2123
added missing examples docs, fixed pip
2013-10-24 09:05:27 +02:00
Bernardo Pires
44724fd71d
Merge branch 'master' of https://github.com/bcarneiro/django-tenant-schemas
2013-10-20 19:32:12 +02:00
Bernardo Pires
1c2a40cd81
Merge pull request #84 from Walkman/patch-1
...
Ignore IntelliJ hidden files
2013-10-20 05:34:01 -07:00
Walkman
73757d1511
Removed IntelliJ files
2013-10-20 14:26:49 +02:00
Kiss György
75cdb0f1bd
Ignore IntelliJ hidden files
2013-10-20 14:24:03 +02:00
Bernardo Pires
3cf609fd8c
fixed setup.py wrong path to examples
2013-10-20 13:43:18 +02:00
Bernardo Pires
a9bae38aff
updated docs regarding example project
2013-10-20 13:41:46 +02:00
Bernardo Pires
4bbaf6fc9e
added first example: an interactive tutorial for this app
2013-10-20 13:32:30 +02:00
Bernardo Pires
a9241f2777
small refactoring, remove useless command, only create tenant at the end
2013-10-20 13:32:18 +02:00
Bernardo Pires
a5a3438161
updated docs
2013-10-20 10:34:45 +02:00
Bernardo Pires
f48a4512b0
removed deprecated PUBLIC_SCHEMA_URL_TOKEN
2013-10-20 10:09:42 +02:00
Bernardo Pires
5e43d4cc33
moved post delete listener to delete method, #81
2013-10-18 11:25:45 +02:00
Bernardo Pires
556b085c5b
Merge branch 'master' of https://github.com/bcarneiro/django-tenant-schemas
2013-10-18 10:50:12 +02:00
Bernardo Pires
04f0de9165
fixed type, fixes #83
2013-10-18 10:49:53 +02:00
Bernardo Pires
3aaea31821
Merge pull request #82 from MontmereLimited/master
...
move version directly into setup.py
2013-10-14 22:39:51 -07:00
Stephen J. Fuhry
3d7c9003e0
move version directly into setup.py
...
because if you are doing stuff in __init__.py, setup.py will try to load
it on install, which can cause some problems when resources aren't
available on an initial install
2013-10-14 16:13:42 -04:00
Bernardo Pires
ce920d0779
moved signals to listeners.py, imported from models. fixes #81
2013-10-14 21:59:05 +02:00
Bernardo Pires
8715f92ae3
Merge pull request #80 from MontmereLimited/exception-swallow
...
remove redundant re-raising of swallowed exception
2013-10-14 12:28:42 -07:00
Stephen J. Fuhry
99a71c5db8
remove redundant re-raising of swallowed exception
2013-10-14 15:14:58 -04:00
Bernardo Pires
7cc2c194b1
Merge pull request #79 from Walkman/fix_delete
...
Fixes #77
2013-10-14 11:01:58 -07:00
Walkman
2ee67de1ff
Fixes #77
...
For details see:
http://www.quora.com/Django-web-framework/When-using-Djangos-signals-where-should-the-code-that-registers-a-new-receiver-function-go
2013-10-14 18:14:43 +02:00
Bernardo Pires
92615d0b5e
added small deployment guide with apache to the docs
2013-10-09 19:46:33 +02:00
Bernardo Pires
8a3ee48638
fixing the mess i did
2013-10-04 12:59:45 +02:00
Bernardo Pires
4be1f0889f
pep8
2013-10-04 12:49:29 +02:00
Bernardo Pires
4925746088
updated string message when saving tenant outside public
2013-10-04 12:45:40 +02:00
Bernardo Pires
f16af88a7a
Merge pull request #74 from Walkman/restrict_delete
...
Restrict delete to public or current schema the same way as in case of save
2013-10-04 03:45:09 -07:00
Bernardo Pires
aaf8f0126a
fixed post delete receiver not working properly
2013-10-04 12:33:00 +02:00