First time here? Check out the FAQ!
0

DeprecationWarning with Django 1.3.1 and Python 2.6

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

naavi's avatar
185
naavi
asked 2012-06-01 08:48:36 -0600, updated 2012-06-02 15:01:21 -0600
edit flag offensive 0 remove flag 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
add a comment see more comments

1 Answer

1

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
Evgeny's avatar
13.2k
Evgeny
answered 2012-06-02 15:07:47 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments