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:
parent
eab312e94e
commit
7c5b448c64
4 changed files with 32 additions and 88 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue