Remove the guest system entirely: no is_guest/device_id, no guest throttles, phone login is the only way in

accounts.0008 drops the columns and refuses to run while guest rows exist.
Docs describe the current state; tests that only proved guest behaviour are gone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-05 18:20:10 +03:30
parent 8835e01595
commit 663252a260
61 changed files with 357 additions and 1518 deletions

View File

@@ -67,7 +67,7 @@ class SkillMapTests(TestCase):
self.assertEqual(rows['ویدیوی توان']['kind'], 'video')
self.assertEqual(rows['ویدیوی توان']['meta'], '12 دقیقه')
def test_done_is_false_for_a_guest_and_true_after_completion(self):
def test_done_is_false_when_signed_out_and_true_after_completion(self):
self.assertFalse(any(r['done'] for r in self._lessons()['lessons']))
UserLessonCompletion.objects.create(user_id=self.user.id, lesson=self.quiz,