First time here? Check out the FAQ!
0

DeprecationWarning(s)

Just wanted to point out some Deprecation warnings i'm seeing in the logs that i didn't see anyone else point out yet. I suppose these are 'known issues' already?

[Tue Dec 13 06:12:39 2011] [error] /usr/lib/python2.6/site-packages/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.'

[Tue Dec 13 06:12:39 2011] [error]   DeprecationWarning
[Tue Dec 13 06:12:41 2011] [error] /usr/lib/python2.6/site-packages/django/contrib/auth/models.py:393: DeprecationWarning: The user messaging API is deprecated. Please update your code to use the new messages framework.
[Tue Dec 13 06:12:41 2011] [error]   category=DeprecationWarning)

[Tue Dec 13 06:12:41 2011] [error] /usr/lib/python2.6/site-packages/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.

[Tue Dec 13 06:12:41 2011] [error]   DeprecationWarning
[Tue Dec 13 06:12:42 2011] [error] /usr/lib/python2.6/site-packages/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead.

[Tue Dec 13 06:12:42 2011] [error]   DeprecationWarning
[Tue Dec 13 06:12:42 2011] [error] /usr/lib/python2.6/site-packages/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.'
drpoovilleorg's avatar
51
drpoovilleorg
asked 2011-12-13 06:16:26 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2011-12-13 06:45:04 -0500
edit flag offensive 0 remove flag close merge delete

Comments

These are not bugs :) but only warnings. That means that in the future versions of Django those features will turn into bugs, possibly in Django 1.4

Evgeny's avatar Evgeny (2011-12-13 06:44:26 -0500) edit
2

I've asked our designer to fix the layout issue with the preformatted text flowing over the author info.

Evgeny's avatar Evgeny (2011-12-13 07:05:31 -0500) edit
add a comment see more comments

1 Answer

0

Hi, this warning is raised by django > 1.2 the django default settings for databases used to be the one that we still use, if you want to remove this warning just change your settings database format to the new one explained here: https://docs.djangoproject.com/en/dev/ref/settings/#databases

Fitoria's avatar
1.1k
Fitoria
answered 2011-12-13 06:40:25 -0500
edit flag offensive 0 remove flag delete link

Comments

with django 1.3 (what we use), a few new deprecation warnings appear: Authentication backends without asupportsanonymoususerattribute are deprecated., and Authentication backends without asupportsobjectpermissionsattribute are deprecated.

piskvorky's avatar piskvorky (2011-12-13 13:57:36 -0500) edit

Hmm, I thought markdown strings between backticks `` were not formatted.

piskvorky's avatar piskvorky (2011-12-13 14:00:26 -0500) edit
add a comment see more comments