mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-20 13:29:37 +02:00
Add new model fields and remove old ones
This commit is contained in:
parent
78f56a3a5f
commit
eab312e94e
4 changed files with 88 additions and 32 deletions
|
@ -6,7 +6,7 @@ from worldtravel.models import Country, Region, VisitedRegion
|
|||
|
||||
|
||||
class AdventureAdmin(admin.ModelAdmin):
|
||||
list_display = ('name', 'type', 'user_id', 'date', 'is_public', 'image_display')
|
||||
list_display = ('name', 'type', 'user_id', '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