Skip to main content

Django accounts management for terralego apps

Project description

Build Status codecov Maintainability

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

========= CHANGELOG

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page