This commit is contained in:
Sanj 2011-10-07 00:11:09 +05:30
parent fcc7fff5c2
commit e39b9728c1

23
trubox/deals/admin.py Normal file
View File

@ -0,0 +1,23 @@
from django.contrib import admin
# from django.contrib.auth.models import User
from models import *
'''
class ProjectImageInline(admin.TabularInline):
model = ProjectImage
extra = 20
'''
class ProductGroupAdmin(admin.ModelAdmin):
pass
# prepopulated_fields = {'slug': ('title',)}
# inlines = [ProjectImageInline]
'''
class SliderImageAdmin(admin.ModelAdmin):
list_display = ('__unicode__', 'order',)
list_editable = ('order',)
'''
admin.site.register(ProductGroup, ProductGroupAdmin)