Ask Your Question
0

DeprecationWarning with Django 1.3.1 and Python 2.6

asked 2012-06-01 08:48:36 -0600

naavi's avatar

updated 2012-06-02 15:01:21 -0600

I'm getting the following warnings in the uwsgi logs, let me know how to get rid of them.

Your output encoding is not UTF-8, there may be issues with the software when anything is printed to the terminal or log files /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/context_processors.py:27: DeprecationWarning: The context processor at django.core.context_processors.auth is deprecated; use the path django.contrib.auth.context_processors.auth instead. DeprecationWarning /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead. DeprecationWarning /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.' DeprecationWarning BlockquoteBlockquote

Anyone? I'm still living with this issue

edit retag flag offensive close merge delete

Comments

I tried upgrading the Database settings structure in settings.py to that of Django 1.4 and upgrade django to 1.4, but askbot refused to open. nginx throws 502 bad gateway error. I then installed back my Django 1.3.1.

naavi's avatar naavi  ( 2012-06-01 09:06:14 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-06-02 15:07:47 -0600

Evgeny's avatar

Askbot does not work with Django 1.4 yet, at least right out of the box.

To make Askbot work with Django 1.4 we'll need to make changes:

  • replace old user-based messaging framework with the new one
  • change default settings template to the 1.4 format
  • modify askbot/startup_procedures.py to support 1.4
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-01 08:48:36 -0600

Seen: 475 times

Last updated: Jun 02 '12