Skip to content

Instantly share code, notes, and snippets.

@g3rd
Last active August 29, 2015 14:07
Show Gist options
  • Save g3rd/8d52a002b73c174a6459 to your computer and use it in GitHub Desktop.
Save g3rd/8d52a002b73c174a6459 to your computer and use it in GitHub Desktop.
$ ./manage.py migrate
/Users/g3rd/Projects/gannett/src/django-cms/cms/publisher/manager.py:5: RemovedInDjango18Warning: `PublisherManager.get_query_set` method should be renamed `get_queryset`.
class PublisherManager(models.Manager):
/Users/g3rd/Projects/gannett/src/django-cms/cms/models/managers.py:15: RemovedInDjango18Warning: `PageManager.get_query_set` method should be renamed `get_queryset`.
class PageManager(PublisherManager):
/Users/g3rd/Projects/gannett/src/cmsplugin-filer/cmsplugin_filer_utils/__init__.py:5: RemovedInDjango18Warning: `FilerPluginManager.get_query_set` method should be renamed `get_queryset`.
class FilerPluginManager(models.Manager):
/Users/g3rd/Projects/gannett/src/django-cms/cms/admin/change_list.py:39: RemovedInDjango18Warning: `CMSChangeList.get_query_set` method should be renamed `get_queryset`.
class CMSChangeList(ChangeList):
/Users/g3rd/Projects/gannett/src/django-cms/cms/admin/forms.py:340: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form PagePermissionInlineAdminForm needs updating
class PagePermissionInlineAdminForm(forms.ModelForm):
/Users/g3rd/Projects/gannett/src/django-cms/cms/admin/forms.py:442: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form ViewRestrictionInlineAdminForm needs updating
class ViewRestrictionInlineAdminForm(PagePermissionInlineAdminForm):
/Users/g3rd/Projects/gannett/src/django-cms/cms/admin/forms.py:491: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form PageUserForm needs updating
class PageUserForm(UserCreationForm, GenericCmsPermissionForm):
/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/forms/widgets.py:143: RemovedInDjango18Warning: `PagePermissionInlineAdmin.queryset` method should be renamed `get_queryset`.
.__new__(mcs, name, bases, attrs))
/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/forms/widgets.py:143: RemovedInDjango18Warning: `ViewRestrictionInlineAdmin.queryset` method should be renamed `get_queryset`.
.__new__(mcs, name, bases, attrs))
/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/forms/widgets.py:143: RemovedInDjango18Warning: `PageUserAdmin.queryset` method should be renamed `get_queryset`.
.__new__(mcs, name, bases, attrs))
/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/djangocms_googlemap/forms.py:14: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form GoogleMapForm needs updating
class GoogleMapForm(ModelForm):
/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/template/base.py:290: RemovedInDjango18Warning: 'The `firstof` template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the `future` tag library to start using the new behavior.
compiled_result = compile_func(self, token)
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/apps/registry.py", line 115, in populate
app_config.ready()
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/contrib/admin/apps.py", line 22, in ready
self.module.autodiscover()
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/contrib/admin/__init__.py", line 23, in autodiscover
autodiscover_modules('admin', register_to=site)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/utils/module_loading.py", line 74, in autodiscover_modules
import_module('%s.%s' % (app_config.name, module_to_search))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/Users/g3rd/Projects/gannett/src/django-cms/cms/admin/__init__.py", line 11, in <module>
plugin_pool.plugin_pool.discover_plugins()
File "/Users/g3rd/Projects/gannett/src/django-cms/cms/plugin_pool.py", line 36, in discover_plugins
load('cms_plugins')
File "/Users/g3rd/Projects/gannett/src/django-cms/cms/utils/django_load.py", line 56, in load
get_module(app, modname, verbose, failfast)
File "/Users/g3rd/Projects/gannett/src/django-cms/cms/utils/django_load.py", line 40, in get_module
module = import_module(module_name)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/utils/importlib.py", line 46, in import_module
__import__(name)
File "/Users/g3rd/Projects/gannett/src/cmsplugin-filer/cmsplugin_filer_image/cms_plugins.py", line 13, in <module>
class FilerImagePlugin(CMSPluginBase):
File "/Users/g3rd/Projects/gannett/src/django-cms/cms/plugin_base.py", line 63, in __new__
new_plugin.form = type('%sForm' % name, (ModelForm,), form_attrs)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/forms/models.py", line 284, in __new__
opts.help_texts, opts.error_messages)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/forms/models.py", line 210, in fields_for_model
formfield = f.formfield(**kwargs)
File "/Users/g3rd/Projects/gannett/src/django-cms/cms/models/fields.py", line 95, in formfield
return super(PageField, self).formfield(**defaults)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/db/models/fields/related.py", line 1753, in formfield
return super(ForeignKey, self).formfield(**defaults)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/db/models/fields/related.py", line 339, in formfield
return super(RelatedField, self).formfield(**defaults)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 842, in formfield
return form_class(**defaults)
File "/Users/g3rd/Projects/gannett/src/django-cms/cms/forms/fields.py", line 47, in __init__
super(PageSelectFormField, self).__init__(fields, *args, **kwargs)
File "/Users/g3rd/Projects/gannett/lib/python2.7/site-packages/django/forms/fields.py", line 993, in __init__
super(MultiValueField, self).__init__(*args, **kwargs)
TypeError: Error when calling the metaclass bases
__init__() got an unexpected keyword argument 'limit_choices_to'
$ cd django-cms/
$ git branch -v
* develop e13147b Merge pull request #3509 from furiousdave/develop
$ cd ../django-filer/
$ git branch -v
* develop 8d43463 Merge pull request #447 from nephila/feature/django-1.7
$ cd ../cmsplugin-filer/
$ git branch -v
* develop 3484f76 Merge pull request #149 from mkoistinen/django_17_migrations
$ pip freeze
Django==1.7
Pillow==2.6.1
Pygments==1.6
bpython==0.13.1
-e git+https://github.com/stefanfoulis/cmsplugin-filer.git@3484f7636eb39b1c8eeb15eb47fee56aaf20a893#egg=cmsplugin_filer-origin/develop
-e git+https://github.com/mkoistinen/cmsplugin-sections.git@f011ea5438a128160e263396d11f2dfe0e0a5462#egg=cmsplugin_sections-master
django-appconf==0.6
django-classy-tags==0.5.1
-e git+https://github.com/divio/django-cms.git@e13147bc1e52bf16f62cbc2a16ba8355b5a37291#egg=django_cms-origin/develop
django-extensions==1.4.3
-e git+https://github.com/stefanfoulis/django-filer.git@8d434630315a5759f342264079b72b4c5e43619e#egg=django_filer-origin/develop
django-mptt==0.6.1
django-parler==1.1
-e git+https://github.com/chrisglass/django_polymorphic.git@e9e4719fd3de35c0fc236d31c5712146c7e1571e#egg=django_polymorphic-master
django-reversion==1.8.4
django-sekizai==0.7
-e git+https://github.com/g3rd/django-site-settings.git@112a158b268b3d81c71a759248174795a0cdd3f8#egg=django_site_settings-master
djangocms-admin-style==0.2.2
djangocms-file==0.1
djangocms-flash==0.1
djangocms-googlemap==0.2
djangocms-inherit==0.1
djangocms-link==1.5
djangocms-picture==0.1
-e git+https://github.com/divio/djangocms-snippet.git@30c9f32dab81501d84a20199233956e8e7dde43f#egg=djangocms_snippet-master
-e git+https://github.com/divio/djangocms-style.git@58ec4df75ab177d5dc2235c6450f5f2c22993702#egg=djangocms_style-master
djangocms-teaser==0.1
djangocms-text-ckeditor==2.4.0
djangocms-video==0.1
easy-thumbnails==2.2
html5lib==0.999
psycopg2==2.5.4
six==1.8.0
wsgiref==0.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment