1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-27 08:49:36 +02:00

Revert "Add new model fields and remove old ones"

This reverts commit eab312e94e.
This commit is contained in:
Sean Morley 2024-09-22 10:26:55 -04:00
parent eab312e94e
commit 7c5b448c64
4 changed files with 32 additions and 88 deletions

View file

@ -6,7 +6,7 @@ from worldtravel.models import Country, Region, VisitedRegion
class AdventureAdmin(admin.ModelAdmin):
list_display = ('name', 'type', 'user_id', 'is_public', 'image_display')
list_display = ('name', 'type', 'user_id', 'date', 'is_public', 'image_display')
list_filter = ('type', 'user_id', 'is_public')
def image_display(self, obj):