Django accounts management for terralego apps
Project description
django-terra-accounts
Django accounts management for terralego apps
https://django-terra-accounts.readthedocs.io/
WARNING
-
splitted from terracommon.accounts
-
If you want to migrate data, please :
- test in local env
- all terracommon.accounts reference should be replaced by terra_accounts
- all migration file which is referencing a 'accounts' migration should reference 'terra_accounts'
- backup your instance
- stop instance
- update your django_content_type table
- UPDATE django_content_type SET app_label = 'terra_accounts' WHERE app_label = 'account';
- update your django_migrations table
- UPDATE django_migrations SET app = 'terra_accounts' WHERE app = 'account';
- Rename tables
- ALTER TABLE accounts_terrauser RENAME TO terra_accounts_terrauser;
- ALTER TABLE accounts_readmodels RENAME TO terra_accounts_readmodel;
- Restart instances and launch migrations
- test in local env
========= CHANGELOG
0.3.6 (2019-11-05)
- Add a method to check if a user has some terra permission
0.3.5 (2019-11-04)
- Implement TerraPermissions
0.3.4 (2019-10-08)
- Deprecate looking up user by id (will be removed in 0.4.0)
0.3.3 (2019-10-03)
Feature
- test factories are now included in packaging
0.3.2 (2019-09-27)
Fixes
- Groups must be a DRF standard attribute
0.3.1 (2019-09-26)
Fixes
- Fix id in Group serializer (and API)
0.3.0 (2019-09-25)
Breaking Changes
- App name move from accounts to terra_accounts. Structure is the same, so backup and restore your data
First public tag
- Terra app extracted from terracommon.accounts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-terra-accounts-0.3.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b187435dcd37c787570fd696d2424aa3acc68f510901c23394efc96cade68067 |
|
MD5 | c36b0953f17b3ed59c48b01a767d5a48 |
|
BLAKE2b-256 | c281628275786e2439efe1944a043de5a4bb67aa2482f80a888299bba2d517e6 |