hackforla / knowledgebase

MIT License
1 stars 4 forks source link

M-M: Asset to Contributor/User #63

Closed ethanstrominger closed 9 months ago

ethanstrominger commented 10 months ago

Dependencies

Overview

As a user I want to be able to see what users are associated with an asset

Action Items

class AssetGroupsToolsAdmin(admin.ModelAdmin): inlines = [AssetGroupToolsInline] list_display = ("Tools.name") search_fields = ["Tools.name"]

- Add to admin.py:

admin.register(Assets, AssetsUsersAdmin)



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