made design changes and added functionality to slider
This commit is contained in:
commit
c98c5a7ccf
|
@ -2,4 +2,6 @@
|
||||||
-e bzr+http://code.0xdb.org/python-ox/#egg=python-ox
|
-e bzr+http://code.0xdb.org/python-ox/#egg=python-ox
|
||||||
django_extensions
|
django_extensions
|
||||||
South
|
South
|
||||||
pYsearch
|
ez_setup
|
||||||
|
bingapi
|
||||||
|
|
||||||
|
|
23
trubox/deals/admin.py
Normal file
23
trubox/deals/admin.py
Normal 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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user