estava fazendo os exercicios, mas no momento em que eu iria verificar o template, me apareceu um erro de direcionamento, mas n acho que seja isso. Aqui esta a tela de erro
ImproperlyConfigured at /perfis/1
The included urlconf '<module 'usuarios.urls' from '/home/alvaro/Documents/alura/Django Project/connectedin/usuarios/urls.pyc'>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Request Method: GET
Request URL: http://localhost:8000/perfis/1
Django Version: 1.7.4
Exception Type: ImproperlyConfigured
Exception Value:
The included urlconf '<module 'usuarios.urls' from '/home/alvaro/Documents/alura/Django Project/connectedin/usuarios/urls.pyc'>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Exception Location: /home/alvaro/.local/lib/python2.7/site-packages/django/core/urlresolvers.py in url_patterns, line 381
Python Executable: /usr/bin/python
Python Version: 2.7.12
Python Path:
['/home/alvaro/Documents/alura/Django Project/connectedin',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/home/alvaro/.local/lib/python2.7/site-packages',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/wx-3.0-gtk2']
Server time: Sex, 25 Nov 2016 02:14:09 +0000
Error during template rendering
In template /home/alvaro/Documents/alura/Django Project/connectedin/perfis/templates/base.html, error at line 16
The included urlconf '<module 'usuarios.urls' from '/home/alvaro/Documents/alura/Django Project/connectedin/usuarios/urls.pyc'>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width">
8 <link rel="stylesheet" type="text/css" href="{% static 'styles/bootstrap.css' %}">
9 <link rel="stylesheet" type="text/css" href="{% static 'styles/main.css' %}">
10 <title>Connected-in</title>
11 </head>
12 <body>
13 <div class="container">
14 <div class="header">
15 <ul class="nav nav-pills pull-right">
16 <li><a href="{% url 'index' %}">Home</a></li>
17 <li><a href="/logout/">Sair</a></li>
18 </ul>
19 <h3 class="text-muted">Connected-In</h3>
20 </div>
21 <div class="row content">
22 {% block body %}
23 {% endblock %}
24 </div>
25 </div>
26
Traceback Switch to copy-and-paste view
/home/alvaro/.local/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/home/alvaro/Documents/alura/Django Project/connectedin/perfis/views.py in perfis
return render(request, 'perfis.html', {'perfil' : perfil, 'ja_e_amigo': amigo_es}) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/shortcuts.py in render
return HttpResponse(loader.render_to_string(*args, **kwargs), ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/loader.py in render_to_string
return t.render(context_instance) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/base.py in render
return self._render(context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/base.py in render
bit = self.render_node(node, context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/debug.py in render_node
return node.render(context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/base.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/base.py in render
bit = self.render_node(node, context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/debug.py in render_node
return node.render(context) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/template/defaulttags.py in render
url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/core/urlresolvers.py in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)) ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix
self._populate() ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/core/urlresolvers.py in _populate
for name in pattern.reverse_dict: ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/core/urlresolvers.py in reverse_dict
self._populate() ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/core/urlresolvers.py in _populate
for pattern in reversed(self.url_patterns): ...
▶ Local vars
/home/alvaro/.local/lib/python2.7/site-packages/django/core/urlresolvers.py in url_patterns
raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) ...
▶ Local vars
Request information
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable Value
csrftoken
'2VVfx8swdoMD5AydiBLz6IHGOKMKvKVL'
META
Variable Value
wsgi.version
(1, 0)
RUN_MAIN
'true'
XDG_GREETER_DATA_DIR
'/var/lib/lightdm-data/alvaro'
QT4_IM_MODULE
''
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.7.12'
UPSTART_EVENTS
'started xsession'
SCRIPT_NAME
u''
XDG_SESSION_TYPE
'x11'
REQUEST_METHOD
'GET'
CONTENT_LENGTH
''
SERVER_PROTOCOL
'HTTP/1.1'
LC_PAPER
'pt_BR.UTF-8'
HOME
'/home/alvaro'
DISPLAY
':0.0'
LANG
'en_US.UTF-8'
SHELL
'/bin/bash'
XDG_DATA_DIRS
'/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/usr/share'
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
'1'
MANDATORY_PATH
'/usr/share/gconf/xubuntu.mandatory.path'
QT_ACCESSIBILITY
'1'
UPSTART_INSTANCE
''
JOB
'dbus'
SESSION
'xubuntu'
SERVER_PORT
'8000'
XMODIFIERS
''
LC_MONETARY
'pt_BR.UTF-8'
PATH_INFO
u'/perfis/1'
XDG_RUNTIME_DIR
'/run/user/1000'
GTK_IM_MODULE
''
LC_ADDRESS
'pt_BR.UTF-8'
CONTENT_TYPE
'text/plain'
LC_CTYPE
'pt_BR.UTF-8'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'localhost:8000'
HTTP_UPGRADE_INSECURE_REQUESTS
'1'
XDG_CURRENT_DESKTOP
'XFCE'
XDG_SESSION_ID
'c2'
DBUS_SESSION_BUS_ADDRESS
'unix:abstract=/tmp/dbus-HqX1h4JiIU'
GNOME_KEYRING_PID
''
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
DESKTOP_SESSION
'xubuntu'
LESSCLOSE
'/usr/bin/lesspipe %s %s'
DEFAULTS_PATH
'/usr/share/gconf/xubuntu.default.path'
wsgi.run_once
False
wsgi.errors
<open file '<stderr>', mode 'w' at 0x7f7d0db1d1e0>
wsgi.multiprocess
False
HTTP_ACCEPT_LANGUAGE
'pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4,de;q=0.2'
INSTANCE
''
LC_NAME
'pt_BR.UTF-8'
XDG_MENU_PREFIX
'xfce-'
LS_COLORS
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
XDG_SEAT
'seat0'
LC_NUMERIC
'pt_BR.UTF-8'
GLADE_PIXMAP_PATH
':'
HTTP_COOKIE
'csrftoken=2VVfx8swdoMD5AydiBLz6IHGOKMKvKVL'
LESSOPEN
'| /usr/bin/lesspipe %s'
QUERY_STRING
''
QT_IM_MODULE
''
LOGNAME
'alvaro'
USER
'alvaro'
GNOME_KEYRING_CONTROL
''
XDG_VTNR
'7'
PATH
'/home/alvaro/bin:/home/alvaro/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
TERM
'xterm'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36'
XDG_SESSION_PATH
'/org/freedesktop/DisplayManager/Session0'
QT_STYLE_OVERRIDE
'gtk'
LANGUAGE
'en_US'
SESSION_MANAGER
'local/alvaro:@/tmp/.ICE-unix/1641,unix/alvaro:/tmp/.ICE-unix/1641'
LC_MEASUREMENT
'pt_BR.UTF-8'
QT_QPA_PLATFORMTHEME
'appmenu-qt5'
wsgi.url_scheme
'http'
CLUTTER_IM_MODULE
''
WINDOWID
'33554551'
GTK_OVERLAY_SCROLLING
'0'
SESSIONTYPE
''
IM_CONFIG_PHASE
'1'
GLADE_CATALOG_PATH
':'
GPG_AGENT_INFO
'/home/alvaro/.gnupg/S.gpg-agent:0:1'
CLUTTER_BACKEND
'x11'
XDG_SESSION_DESKTOP
'xubuntu'
GLADE_MODULE_PATH
':'
SSH_AUTH_SOCK
'/run/user/1000/keyring/ssh'
GDMSESSION
'xubuntu'
UPSTART_JOB
'startxfce4'
wsgi.multithread
True
XDG_SEAT_PATH
'/org/freedesktop/DisplayManager/Seat0'
TZ
'UTC'
_
'/usr/bin/python'
XAUTHORITY
'/home/alvaro/.Xauthority'
wsgi.input
<socket._fileobject object at 0x7f7d0856ec50>
LC_IDENTIFICATION
'pt_BR.UTF-8'
UPSTART_SESSION
'unix:abstract=/com/ubuntu/upstart-session/1000/1288'
XDG_CONFIG_DIRS
'/etc/xdg/xdg-xubuntu:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg'
SERVER_NAME
'localhost'
GATEWAY_INTERFACE
'CGI/1.1'
CSRF_COOKIE
u'2VVfx8swdoMD5AydiBLz6IHGOKMKvKVL'
REMOTE_ADDR
'127.0.0.1'
GDM_LANG
'en_US'
LC_TELEPHONE
'pt_BR.UTF-8'
SHLVL
'1'
PWD
'/home/alvaro/Documents/alura/Django Project/connectedin'
DJANGO_SETTINGS_MODULE
'connectedin.settings'
COLORTERM
'xfce4-terminal'
LC_TIME
'pt_BR.UTF-8'
wsgi.file_wrapper
''
REMOTE_HOST
''
HTTP_ACCEPT_ENCODING
'gzip, deflate, sdch'
Settings
Using settings module connectedin.settings
Setting Value
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'pt-br'
ROOT_URLCONF
'connectedin.urls'
MANAGERS
()
BASE_DIR
'/home/alvaro/Documents/alura/Django Project/connectedin'
TEST_NON_SERIALIZED_APPS
[]
DEFAULT_CHARSET
'utf-8'
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT
None
ALLOWED_HOSTS
[]
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_SUBJECT_PREFIX
'[Django] '
SEND_BROKEN_LINK_EMAILS
False
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.sqlite3',
'HOST': '',
'NAME': '/home/alvaro/Documents/alura/Django Project/connectedin/db.sqlite3',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': 'UTC',
'USER': ''}}
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')
DEFAULT_CONTENT_TYPE
'text/html'
APPEND_SLASH
True
LOCALE_PATHS
()
DATABASE_ROUTERS
[]
DEFAULT_TABLESPACE
''
YEAR_MONTH_FORMAT
'F Y'
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_PATH
'/'
SILENCED_SYSTEM_CHECKS
[]
MIDDLEWARE_CLASSES
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'logging.config.dictConfig'
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader')
FIRST_DAY_OF_WEEK
0
WSGI_APPLICATION
'connectedin.wsgi.application'
TEMPLATE_DEBUG
True
X_FRAME_OPTIONS
'SAMEORIGIN'
CSRF_COOKIE_NAME
'csrftoken'
FORCE_SCRIPT_NAME
None
USE_X_FORWARDED_HOST
False
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SESSION_COOKIE_SECURE
False
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
LANGUAGE_COOKIE_DOMAIN
None
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'perfis',
'usuarios')
LANGUAGES
(('af', 'Afrikaans'),
('ar', 'Arabic'),
('ast', 'Asturian'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('be', 'Belarusian'),
('bn', 'Bengali'),
('br', 'Breton'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('en-au', 'Australian English'),
('en-gb', 'British English'),
('eo', 'Esperanto'),
('es', 'Spanish'),
('es-ar', 'Argentinian Spanish'),
('es-mx', 'Mexican Spanish'),
('es-ni', 'Nicaraguan Spanish'),
('es-ve', 'Venezuelan Spanish'),
('et', 'Estonian'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('fy', 'Frisian'),
('ga', 'Irish'),
('gl', 'Galician'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('hu', 'Hungarian'),
('ia', 'Interlingua'),
('id', 'Indonesian'),
('io', 'Ido'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('kk', 'Kazakh'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lb', 'Luxembourgish'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('mr', 'Marathi'),
('my', 'Burmese'),
('nb', 'Norwegian Bokmal'),
('ne', 'Nepali'),
('nl', 'Dutch'),
('nn', 'Norwegian Nynorsk'),
('os', 'Ossetic'),
('pa', 'Punjabi'),
('pl', 'Polish'),
('pt', 'Portuguese'),
('pt-br', 'Brazilian Portuguese'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sq', 'Albanian'),
('sr', 'Serbian'),
('sr-latn', 'Serbian Latin'),
('sv', 'Swedish'),
('sw', 'Swahili'),
('ta', 'Tamil'),
('te', 'Telugu'),
('th', 'Thai'),
('tr', 'Turkish'),
('tt', 'Tatar'),
('udm', 'Udmurt'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('vi', 'Vietnamese'),
('zh-cn', 'Simplified Chinese'),
('zh-hans', 'Simplified Chinese'),
('zh-hant', 'Traditional Chinese'),
('zh-tw', 'Traditional Chinese'))
COMMENTS_ALLOW_PROFANITIES
False
STATICFILES_DIRS
()
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
LANGUAGE_COOKIE_AGE
None
SESSION_COOKIE_HTTPONLY
True
DEBUG_PROPAGATE_EXCEPTIONS
False
INTERNAL_IPS
()
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
AUTH_USER_MODEL
'auth.User'
DATE_INPUT_FORMATS
('%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y')
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
EMAIL_HOST_PASSWORD
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
SESSION_FILE_PATH
None
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH
'/'
LOGIN_REDIRECT_URL
'/accounts/profile/'
DECIMAL_SEPARATOR
'.'
IGNORABLE_404_URLS
()
MIGRATION_MODULES
{}
TEMPLATE_STRING_IF_INVALID
''
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
''
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
MEDIA_URL
''
DATETIME_FORMAT
'N j, Y, P'
TEMPLATE_DIRS
()
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
LOGGING
{}
SHORT_DATE_FORMAT
'm/d/Y'
TEST_RUNNER
'django.test.runner.DiscoverRunner'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
TIME_ZONE
'UTC'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_SSL
False
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.core.context_processors.tz',
'django.contrib.messages.context_processors.messages')
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'connectedin.settings'
USE_ETAGS
False
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
FILE_UPLOAD_TEMP_DIR
None
CSRF_COOKIE_AGE
31449600
STATIC_URL
'/static/'
EMAIL_PORT
25
USE_TZ
True
SHORT_DATETIME_FORMAT
'm/d/Y P'
PASSWORD_HASHERS
u'********************'
ABSOLUTE_URL_OVERRIDES
{}
LANGUAGE_COOKIE_PATH
'/'
CACHE_MIDDLEWARE_SECONDS
600
CSRF_COOKIE_HTTPONLY
False
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f',
'%Y-%m-%d %H:%M',
'%Y-%m-%d',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M:%S.%f',
'%m/%d/%Y %H:%M',
'%m/%d/%Y',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M:%S.%f',
'%m/%d/%y %H:%M',
'%m/%d/%y')
EMAIL_HOST_USER
''
PROFANITIES_LIST
u'********************'
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
tentei quase de tudo, mas n estou conseguindo achar o erro, eu iria colocar os dois codigos um do lado do outro, mas o codigo da aula seguinte (11) ja esta com um monte de coisa resolvida, com banco de dados e tals, e eu acabaria me embananando mais ainda.
espero que consiga me ajudar, n faço ideia de oque esta ocorrendo.