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.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-terra-accounts-0.3.3.tar.gz (9.6 kB view hashes)

Uploaded Source

Supported by

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