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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
naavi's avatar
185
naavi
asked 12 years ago, updated 12 years ago

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 (12 years ago)
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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

see more comments