aldryn / aldryn-blog

aldryn-blog IS DEPRECATED. PLEASE USE aldryn-newsblog!
Other
20 stars 35 forks source link

bad_table_name, proper_table_name, model._meta.app_label #59

Closed msables closed 9 years ago

msables commented 10 years ago

I was told this was a aldryn-blog problem rather than django-cms, so I am posting it here. (im a django beginner) After Installing django-cms by following the tutorial at https://github.com/divio/django-cms-tutorial and using the recommended "stable" releases and also installing aldryn-blog i get these depreciation errors.

/home/msables/.envs/teethinline/local/lib/python2.7/site-packages/cms/admin/placeholderadmin.py:570: DeprecationWarning: Class FrontendEditableAdmin is deprecated and will be removed in 3.1. Instead, use FrontendEditableAdminMixin. "Instead, use FrontendEditableAdminMixin.", DeprecationWarning)

/home/msables/.envs/teethinline/local/lib/python2.7/site-packages/cms/admin/placeholderadmin.py:563: DeprecationWarning: Class PlaceholderAdmin is deprecated and will be removed in 3.1. Instead, combine PlaceholderAdminMixin with admin.ModelAdmin. "Instead, combine PlaceholderAdminMixin with admin.ModelAdmin.", DeprecationWarning)

/home/msables/.envs/teethinline/local/lib/python2.7/site-packages/filer/admin/clipboardadmin.py:5: DeprecationWarning: django.utils.simplejson is deprecated; use json instead. from django.utils import simplejson

/home/msables/.envs/teethinline/local/lib/python2.7/site-packages/cms/plugin_pool.py:157: DeprecationWarning: please rename the table "cmsplugin_latestentriesplugin" to "aldryn_blog_latestentriesplugin" in aldryn_blog The compatibility code will be removed in 3.1 bad_table_name, proper_table_name, model._meta.app_label), DeprecationWarning)

/home/msables/.envs/teethinline/local/lib/python2.7/site-packages/cms/plugin_pool.py:157: DeprecationWarning: please rename the table "cmsplugin_authorsplugin" to "aldryn_blog_authorsplugin" in aldryn_blog The compatibility code will be removed in 3.1 bad_table_name, proper_table_name, model._meta.app_label), DeprecationWarning)

I am using the recommended postgresql database. How do i correct these warnings?

czpython commented 9 years ago

@msables the warning is "harmless" it just means that this app has not yet migrated to the new style of table name for it's plugins. Not really an issue with your database specifically.