This commit is contained in:
Markos Gogoulos
2025-12-24 17:28:12 +02:00
parent ed5cfa1a84
commit 295578dae2
22 changed files with 2345 additions and 1 deletions

View File

@@ -65,7 +65,9 @@ class CategoryAdminForm(forms.ModelForm):
class Meta:
model = Category
fields = '__all__'
# Exclude LTI fields to avoid circular dependency during admin loading
# These will be managed automatically by LTI provisioning
exclude = ['lti_platform', 'lti_context_id']
def clean(self):
cleaned_data = super().clean()