django-cms

Wagtail: how to change css class in auto-generated block?

Wagtail: how to change css class in auto-generated block? Question: I have a StructBlock inside StreamFied: courses = StreamField([ (‘Courses’, StructBlock([ (‘Start_date’, CharBlock()), (‘Name’, CharBlock()), (‘Description’, TextBlock()), (‘Image’, ImageChooserBlock()), (‘Price’, CharBlock()), ], icon = ‘plus’, template = ‘blocks/course_block.html’)) ], True) content_panels = Page.content_panels + [FieldPanel(‘courses’)] In html i have following structure: /index.html <div class="swiper-wrapper" id="swiper-wrapper-dfa89409b3fe2577" …

Total answers: 1

When creating a package, how do I manage migrations of a weak dependency?

When creating a package, how do I manage migrations of a weak dependency? Question: I have a Django app that I would like to package and offer the community through PyPI repository. Its only strong dependance is Django. It also integrates nicely with Django CMS and offers additional integration for Django CMS. I plan to …

Total answers: 1

Django: OperationalError No Such Table

Django: OperationalError No Such Table Question: I’m building a fairly simple application, research, in my Django project that uses Django-CMS. (It’s my first ground-up attempt at a project/application.) Its main purpose is to store various intellectual assets (i.e article, book, etc. written by a researcher). The problem is that when I point the browser to …

Total answers: 19