from django.contrib import admin
from .models import Category,Image,Location

class ImageAdmin(admin.ModelAdmin):
    filter_horizontal = ('category','location')

# Register your models here.
admin.site.register(Category)
admin.site.register(Image,ImageAdmin)
admin.site.register(Location)

95ed32355df264fed16d39f25d7ae9875b197156
<mask token>


class ImageAdmin(admin.ModelAdmin):
    <mask token>


<mask token>

<mask token>


class ImageAdmin(admin.ModelAdmin):
    filter_horizontal = 'category', 'location'


<mask token>

<mask token>


class ImageAdmin(admin.ModelAdmin):
    filter_horizontal = 'category', 'location'


admin.site.register(Category)
admin.site.register(Image, ImageAdmin)
admin.site.register(Location)

from django.contrib import admin
from .models import Category, Image, Location


class ImageAdmin(admin.ModelAdmin):
    filter_horizontal = 'category', 'location'


admin.site.register(Category)
admin.site.register(Image, ImageAdmin)
admin.site.register(Location)

from django.contrib import admin
from .models import Category,Image,Location

class ImageAdmin(admin.ModelAdmin):
    filter_horizontal = ('category','location')

# Register your models here.
admin.site.register(Category)
admin.site.register(Image,ImageAdmin)
admin.site.register(Location)
