Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete host #240

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Delete host #240

wants to merge 16 commits into from

Conversation

bhemmer
Copy link
Member

@bhemmer bhemmer commented May 4, 2021

Beschreibung

command to archive a host which has been dissolved.

Usage: python manage.py dissolve_host <host_slug>

fixes #214

Typ

  • Neues Feature
  • Model Changes

Änderungen

  • host gains bool field 'dissolved'
  • Host.objects.all() returns only objects with dissoved=False
  • dissolve_host command creates backup of all related content to data/<host_slug> directory
  • after the backup it deletes all related content, except for projects

@spuetz
Copy link
Member

spuetz commented May 9, 2021

Hi @bhemmer :) Could you remove the changes in the translation files from the PR. Thx

@bhemmer
Copy link
Member Author

bhemmer commented May 9, 2021

I could not remove translation files per se as there is real change there. This just looks like a lot of changes, as the lines where the translations occur are quoted in the file. I can not prevent this.
I removed all .mo files however, as they can be compiled anyway.

@bhemmer bhemmer requested a review from spuetz May 9, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How do we handle dissolved associations?
3 participants