Back to list
RijksICTGilde

model-workflow

by RijksICTGilde

Interne tool voor overzicht wie, waar, wat, wanneer

1🍴 0📅 Jan 24, 2026

SKILL.md


name: model-workflow description: Django model change workflow for Wies. Use automatically when modifying models in wies/core/models.py to ensure dummy_data.json is updated and migrations are mentioned.

Model Change Workflow

When changing Django models in Wies, follow this workflow:

Steps

  1. Update model in wies/core/models.py
  2. Update dummy_data.json to match new structure
    • Format: Django dumpdata JSON format
    • Include model, pk, and fields keys
  3. Do NOT run makemigrations - just mention "migration needed" to the user
  4. Update forms in forms.py if fields changed
  5. Update views if business logic affected
  6. Run tests with just test to verify nothing breaks

Dummy Data Format

{
  "model": "core.modelname",
  "pk": 1,
  "fields": {
    "field_name": "value"
  }
}

Checklist

  • Model updated
  • dummy_data.json updated
  • Migration mentioned (not executed)
  • Forms updated (if needed)
  • Views updated (if needed)
  • Tests pass

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

0/5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon