#!/usr/bin/python
# ex:set fileencoding=utf-8:

from django.contrib import admin
from models import Technology

class TechnologyAdmin(admin.ModelAdmin):
    list_display = ('name', 'skill', 'homepage', 'object_has_logo')
    list_display_links = ('name',)
    list_filter = ('published', 'tags')
    search_fields = ['name']
    prepopulated_fields = {"slug": ("name", )}

admin.site.register(Technology, TechnologyAdmin)

#!/usr/bin/python
# ex:set fileencoding=utf-8:

from django.contrib import admin
from models import Technology

class TechnologyAdmin(admin.ModelAdmin):
    list_display = ('name', 'skill', 'homepage', 'object_has_logo')
    list_display_links = ('name',)
    list_filter = ('published', 'tags')
    search_fields = ['name']
    prepopulated_fields = {"slug": ("name", )}

admin.site.register(Technology, TechnologyAdmin)

#!/usr/bin/python # ex:set fileencoding=utf-8: