fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow publishing collections.
[wolnelektury.git]
/
src
/
social
/
admin.py
diff --git
a/src/social/admin.py
b/src/social/admin.py
index
6e5bf3a
..
22cc3e3
100644
(file)
--- a/
src/social/admin.py
+++ b/
src/social/admin.py
@@
-4,7
+4,7
@@
from django.contrib import admin
from django.forms import ModelForm
from django.forms.widgets import TextInput
from django.contrib import admin
from django.forms import ModelForm
from django.forms.widgets import TextInput
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from admin_ordering.admin import OrderableAdmin
from social.models import Cite, BannerGroup, Carousel, CarouselItem
from admin_ordering.admin import OrderableAdmin
from social.models import Cite, BannerGroup, Carousel, CarouselItem
@@
-72,6
+72,7
@@
class CarouselItemInline(OrderableAdmin, admin.TabularInline):
class CarouselAdmin(admin.ModelAdmin):
class CarouselAdmin(admin.ModelAdmin):
+ list_display = ['placement', 'priority', 'language']
inlines = [CarouselItemInline]
inlines = [CarouselItemInline]