fle-internal / ka-lite-central

KA Lite central server code (wraps the ka-lite repository and adds features)
https://kalite.learningequality.org/
4 stars 20 forks source link

When deleting users, don't CASCADE to Organization #337

Closed benjaoming closed 4 years ago

benjaoming commented 4 years ago

Django 1.5 had CASCADE as an implicit default. This makes cleaning up inactive user accounts a bit risky, in case there is an irregularity in data.

codecov-io commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@5ea2919). Click here to learn what that means. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #337   +/-   ##
==========================================
  Coverage           ?   74.19%           
==========================================
  Files              ?       60           
  Lines              ?     2441           
  Branches           ?        0           
==========================================
  Hits               ?     1811           
  Misses             ?      630           
  Partials           ?        0
Impacted Files Coverage Δ
centralserver/central/models.py 43.26% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5ea2919...967382b. Read the comment docs.