- Cleaned up admin.py by removing unnecessary dictionary wrapping for fields. - Adjusted migration files to maintain consistent formatting and removed redundant lines. - Updated models.py and tests to remove unnecessary blank lines and improve readability. - Enhanced error handling in the analytics API to properly forward upstream status and messages. - Added comprehensive tests for the analytics proxy to ensure correct status and body forwarding. - Updated contributing guidelines to clarify the use of ruff for code style enforcement.
19 lines
552 B
Python
19 lines
552 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("tasks", "0010_rename_task_status_kanban_idx_task_status_e6f973_idx_and_more"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="task",
|
|
name="custom_fields",
|
|
field=models.JSONField(
|
|
blank=True,
|
|
default=dict,
|
|
help_text="Per-org schema extension; values are validated against common.CustomFieldDefinition.",
|
|
),
|
|
),
|
|
]
|