An example of a plugin that knows if it is the draft or public version of itself, also, a plugin that maintains the same value of "high_water_mark" for each public/draft pair.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| from django.contrib import admin | |
| from .models import Hostel, Room | |
| class RoomInlineAdmin(admin.TabularInline): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > tox -r -e py34-django17-cms32 | |
| GLOB sdist-make: /Users/mkoistinen/repos/djangocms-text-ckeditor/setup.py | |
| py34-django17-cms32 inst-nodeps: /Users/mkoistinen/repos/djangocms-text-ckeditor/.tox/dist/djangocms-text-ckeditor-2.7.2.zip | |
| py34-django17-cms32 installed: coverage==4.0.3,dj-database-url==0.4.1,Django==1.9.5,django-classy-tags==0.7.2,django-cms==3.3.0.dev4,django-formtools==1.0,django-sekizai==0.9.0,Django-Select2==4.3.2,django-treebeard==4.0,djangocms-admin-style==1.1.1,djangocms-helper==0.9.4.post2,djangocms-link==1.7.2,djangocms-picture==1.0.0,djangocms-text-ckeditor==2.7.2,docopt==0.6.2,html5lib==0.9999999,mock==2.0.0,pbr==1.9.1,Pillow==3.2.0,pyflakes==1.1.0,six==1.10.0,South==1.0.2 | |
| py34-django17-cms32 runtests: PYTHONHASHSEED='499885356' | |
| py34-django17-cms32 runtests: commands[0] | python setup.py test | |
| running test | |
| running egg_info | |
| writing djangocms_text_ckeditor.egg-info/PKG-INFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File "/Users/mkoistinen/.virtualenvs/cms_dev3.4/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response | |
| 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
| File "/Users/mkoistinen/.virtualenvs/cms_dev3.4/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapped_view | |
| 110. response = view_func(request, *args, **kwargs) | |
| File "/Users/mkoistinen/.virtualenvs/cms_dev3.4/lib/python3.4/site-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
| 57. response = view_func(request, *args, **kwargs) | |
| File "/Users/mkoistinen/.virtualenvs/cms_dev3.4/lib/python3.4/site-packages/django/contrib/admin/sites.py" in inner | |
| 233. return view(request, *args, **kwargs) | |
| File "/Users/mkoistinen/.virtualenvs/cms_dev3.4/lib/python3.4/site-packages/django/views/decorators/clickjacking.py" in wrapped_view | |
| 41. resp = view_func(*args, **kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| from django.utils.translation import ugettext as _ | |
| from cms.wizards.wizard_pool import wizard_pool | |
| from cms.wizards.wizard_base import Wizard | |
| from .forms import CreateNewsArticleForm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback (most recent call last): | |
| File "./aldryn_faq/tests/test_toolbar.py", line 34, in test_toolbar | |
| rendered_response = response.render() | |
| File "/Users/mkoistinen/.virtualenvs/faq_dev/lib/python2.7/site-packages/django/template/response.py", line 105, in render | |
| self.content = self.rendered_content | |
| File "/Users/mkoistinen/.virtualenvs/faq_dev/lib/python2.7/site-packages/django/template/response.py", line 82, in rendered_content | |
| content = template.render(context) | |
| File "/Users/mkoistinen/.virtualenvs/faq_dev/lib/python2.7/site-packages/django/template/base.py", line 140, in render | |
| return self._render(context) | |
| File "/Users/mkoistinen/.virtualenvs/faq_dev/lib/python2.7/site-packages/django/test/utils.py", line 85, in instrumented_test_render |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CKEDITOR_SETTINGS = { | |
| 'language': '{{ language }}', | |
| 'toolbar': 'CMS', | |
| 'skin': 'moono', | |
| 'toolbar_CMS': [ | |
| ['Undo', 'Redo'], | |
| ['cmsplugins', '-', 'ShowBlocks'], | |
| ['Format', 'Styles'], | |
| ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], | |
| ['Maximize', ''], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| from django.contrib import admin | |
| from .models import Customer | |
| class CustomerAdmin(admin.ModelAdmin): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RevisionManagementError at /en/admin/aldryn_newsblog/article/move-plugin/ | |
| There is no active revision for this thread | |
| Request Method: POST | |
| Request URL: http://localhost:8000/en/admin/aldryn_newsblog/article/move-plugin/ | |
| Django Version: 1.6.10 | |
| Python Executable: /Users/mkoistinen/.virtualenvs/newsblog_test/bin/python | |
| Python Version: 2.7.6 | |
| Python Path: ['/Users/mkoistinen/Desktop/newsblog_test', '/Users/mkoistinen/repos/aldryn-newsblog', '/Users/mkoistinen/.virtualenvs/newsblog_test/lib/python27.zip', '/Users/mkoistinen/.virtualenvs/newsblog_test/lib/python2.7', '/Users/mkoistinen/.virtualenvs/newsblog_test/lib/python2.7/plat-darwin', '/Users/mkoistinen/.virtualenvs/newsblog_test/lib/python2.7/plat-mac', '/Users/mkoistinen/.virtualenvs/newsblog_test/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/mkoistinen/.virtualenvs/newsblog_test/Extras/lib/python', '/Users/mkoistinen/.virtualenvs/newsblog_test/lib/python2.7/lib-tk', '/Users/mkoistinen/.virtualenvs/newsblog_test/lib/python2.7/lib-old', '/Users/mkoistin |