Skip to content Skip to sidebar Skip to footer

What Is The Meaning Of The Traceback?

I am using django-email-change-0.2.1 just to change an emailadress in the auth_user-table. When I am going to add the app emailchange in the settings.py. I get an error message! A

Solution 1:

This:

Insalled_apps= {
'auth.user.emailchange'
}

is wrong in many ways. First, it's not valid Python syntax (curly brackets are for making dicts, not lists) and secondly it's not even close to the valid way of adding an app to a Django settings.py file, which is something like:

INSTALLED_APPS = (
    'foos',
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
 )

So basically fix those things and get back to us. Oh, and could you please also consider copying and pasting code into questions so you don't make mistakes typing them in again?


Post a Comment for "What Is The Meaning Of The Traceback?"