benjiyamin / djangocms-listyle Goto Github PK
View Code? Open in Web Editor NEWAdds a plugin to embed an ordered or unordered list to django CMS. Children are automatically wrapped in <li> tags.
License: GNU General Public License v3.0
Adds a plugin to embed an ordered or unordered list to django CMS. Children are automatically wrapped in <li> tags.
License: GNU General Public License v3.0
Could you please upload the last version on pypi?
Thanks for your plugin!
While I was trying to use this in djangocms3.6 as I don't see a native ul, I just found that it crashes with no posibility to save:
Internal Server Error: /en/admin/cms/page/1/en/publish/
Traceback (most recent call last):
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/core/handlers/base.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/utils/decorators.py", line 142, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/contrib/admin/sites.py", line 223, in inner
return view(request, *args, **kwargs)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/views/decorators/http.py", line 40, in inner
return func(request, *args, **kwargs)
File "/usr/lib64/python3.7/contextlib.py", line 74, in inner
return func(*args, **kwds)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/cms/admin/pageadmin.py", line 1150, in publish_page
published = static_placeholder.publish(request, language)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/cms/models/static_placeholder.py", line 74, in publish
copy_plugins_to(plugins, self.public, no_signals=True)
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/cms/utils/copy_plugins.py", line 24, in copy_plugins_to
old_parent_cache, no_signals))
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/cms/models/pluginmodel.py", line 343, in copy_plugin
plugin_instance.cmsplugin_ptr = new_plugin
File "/home/zero/VirtualEnvs/bulmacms/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 312, in __set__
raw_value = getattr(value, rel_model_pk_name) if value is not None else None
AttributeError: 'CMSPlugin' object has no attribute 'cmsplugin_ptr_id'
Output of pip freeze:
astroid==2.2.5
attrs==19.1.0
autopep8==1.4.4
bandit==1.6.2
ddt==1.2.1
Django==2.1.11
django-classy-tags==0.9.0
django-cms==3.6.0
django-filer==1.5.0
django-formtools==2.1
django-js-asset==1.2.2
django-meta==1.5.2
django-mptt==0.10.0
django-polymorphic==2.0.3
django-sekizai==1.0.0
django-treebeard==4.3
djangocms-admin-style==1.4.0
djangocms-attributes-field==1.1.0
djangocms-bootstrap4==1.5.0
djangocms-column==1.9.0
djangocms-file==2.3.0
djangocms-googlemap==1.3.0
djangocms-icon==1.4.1
djangocms-link==2.5.0
djangocms-listyle==0.1.7
djangocms-page-meta==0.8.5
djangocms-picture==2.3.0
djangocms-snippet==2.2.0
djangocms-style==2.2.0
djangocms-text-ckeditor==3.8.0
djangocms-video==2.1.1
easy-thumbnails==2.6
entrypoints==0.3
flake8==3.7.8
flake8-bandit==2.1.1
flake8-bugbear==19.8.0
flake8-django==0.0.4
flake8-polyfill==1.0.2
gitdb2==2.0.5
GitPython==3.0.1
html5lib==1.0.1
isort==4.3.21
lazy-object-proxy==1.4.1
mccabe==0.6.1
pbr==5.4.2
Pillow==6.1.0
pycodestyle==2.5.0
pyflakes==2.1.1
pylint==2.3.1
pytz==2019.2
PyYAML==5.1.2
six==1.12.0
smmap2==2.0.5
stevedore==1.30.1
typed-ast==1.4.0
Unidecode==1.0.23
webencodings==0.5.1
wrapt==1.11.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.