hackforla / knowledgebase

MIT License
1 stars 4 forks source link

M-M: Asset Group to Topic Area #62

Closed ethanstrominger closed 9 months ago

ethanstrominger commented 10 months ago

Overview

As a user I want to be able to see what topic areas are associated with an asset group

Action Items

class AssetGroupsPracticeAreasAdmin(admin.ModelAdmin): inlines = [AssetGroupPracticeAreasInline] list_display = ("PracticeAreas.name") search_fields = ["PracticeAreas.name"]

- Add to admin.py:

admin.register(AsseGroups, AssetGroupsTopicAreasAdmin)



### Manual Verification
- From UI, you should be able to add multiple topic areas to an asset group and only the added  topic areas will show on the screen
- From DBVisualizer or other Postgres ide you should be able to see creation and update info in AssetGroupsPracticeAreasMM table.