Skip to content

Commit

Permalink
Merge pull request #251 from winged/fix_manager_migration
Browse files Browse the repository at this point in the history
Fix manager migration
  • Loading branch information
David Vogt authored Jul 26, 2021
2 parents 4276e0a + 444df61 commit f5740e4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v0.2.2 (26 July 2021)

### Fixes

* add missing migration for new manager on user model

## v0.2.1 (22 July 2021)

### Fixes
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ services:
db:
environment:
- POSTGRES_PASSWORD=emeis
ports:
- "5432:5432"
emeis:
build:
context: .
Expand Down
20 changes: 20 additions & 0 deletions emeis/core/migrations/0005_manager_on_user_model.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 2.2.24 on 2021-07-26 09:06

import django.contrib.auth.models
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("emeis_core", "0004_use_abstract_base_user"),
]

operations = [
migrations.AlterModelManagers(
name="user",
managers=[
("objects", django.contrib.auth.models.UserManager()),
],
),
]
2 changes: 1 addition & 1 deletion emeis/emeis_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__title__ = "emeis"
__description__ = "user management"
__version__ = "0.2.1"
__version__ = "0.2.2"

0 comments on commit f5740e4

Please sign in to comment.