saulochaves/manutinfra — Issue #6: erro ao chamar o url principal
Author: flcs
Created: 2012-02-27 13:55:44+00:00
State: open

ImproperlyConfigured at /

Put 'django.contrib.admin' in your INSTALLED_APPS setting in order to use the admin application.

Request Method:	GET
Request URL:	http://127.0.0.1:8000/
Django Version:	1.3.1
Exception Type:	ImproperlyConfigured
Exception Value:

Put 'django.contrib.admin' in your INSTALLED_APPS setting in order to use the admin application.

Exception Location:	/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/site-packages/django/contrib/admin/sites.py in check_dependencies, line 161
Python Executable:	/home/nando/.virtualenvs/topicos_avancados_1/bin/python
Python Version:	2.7.1
Python Path:

['/home/nando/projetos/aulas/topicos_abancados_1/rh',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/site-packages/pip-0.7.2-py2.7.egg',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/plat-linux2',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/lib-tk',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/lib-old',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib64/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-tk',
'/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/site-packages']

Server time:	Mon, 27 Feb 2012 07:50:24 -0600
Traceback Switch to copy-and-paste view

/home/nando/.virtualenvs/topicos_avancados_1/lib/python2.7/site-packages/django/core/handlers/base.py in get_response

request.path_info)

...
▼ Local vars
Variable	Value
settings

middleware_method

>

self

receivers

[(, None)]

request

,
POST:,
COOKIES:{},
META:{'COLORTERM': 'gnome-terminal',
'CONTENT_LENGTH': '',
'CONTENT_TYPE': 'text/plain',
'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-ZxJNpojIUd,guid=607e828bc57398f75d924e08000066c7',
'DEFAULTS_PATH': '/usr/share/gconf/gnome-classic.default.path',
'DESKTOP_SESSION': 'gnome-classic',
'DISPLAY': ':0.0',
'DJANGO_SETTINGS_MODULE': 'rh.settings',
'GATEWAY_INTERFACE': 'CGI/1.1',
'GDMSESSION': 'gnome-classic',
'GDM_KEYBOARD_LAYOUT': 'br',
'GDM_LANG': 'en_US',
'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated',
'GNOME_KEYRING_CONTROL': '/tmp/keyring-YPBHfK',
'GNOME_KEYRING_PID': '12444',
'GTK_MODULES': 'canberra-gtk-module',
'HOME': '/home/nando',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_HOST': '127.0.0.1:8000',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2',
'LANG': 'en_US.UTF-8',
'LANGUAGE': 'en_US:en',
'LESSCLOSE': '/usr/bin/lesspipe %s %s',
'LESSOPEN': '| /usr/bin/lesspipe %s',
'LOGNAME': 'nando',
'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: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:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=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:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=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:*.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:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=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:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:',
'MANDATORY_PATH': '/usr/share/gconf/gnome-classic.mandatory.path',
'OLDPWD': '/home/nando/projetos/aulas/topicos_abancados_1',
'ORBIT_SOCKETDIR': '/tmp/orbit-nando',
'PATH': '/home/nando/.virtualenvs/topicos_avancados_1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/nando/.rvm/bin',
'PATH_INFO': u'/',
'PS1': '(topicos_avancados_1)\\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ ',
'PWD': '/home/nando/projetos/aulas/topicos_abancados_1/rh',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'GET',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost.localdomain',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1+',
'SESSION_MANAGER': 'local/nando-desktop:@/tmp/.ICE-unix/12463,unix/nando-desktop:/tmp/.ICE-unix/12463',
'SHELL': '/bin/bash',
'SHLVL': '1',
'SSH_AGENT_PID': '12496',
'SSH_AUTH_SOCK': '/tmp/keyring-YPBHfK/ssh',
'TERM': 'xterm',
'TZ': 'America/Chicago',
'UBUNTU_MENUPROXY': 'libappmenu.so',
'USER': 'nando',
'USERNAME': 'nando',
'VIRTUAL_ENV': '/home/nando/.virtualenvs/topicos_avancados_1',
'WINDOWID': '69209374',
'WINDOWPATH': '8',
'WORKON_HOME': '/home/nando/.virtualenvs',
'XAUTHORITY': '/var/run/gdm/auth-for-nando-40OEC3/database',
'XDG_CONFIG_DIRS': '/etc/xdg/xdg-gnome-classic:/etc/xdg',
'XDG_DATA_DIRS': '/usr/share/gnome-classic:/usr/share/gnome:/usr/local/share/:/usr/share/',
'XDG_SESSION_COOKIE': '1463c67fe1d622ee6c1cf5ae00000008-1330116046.578716-2060585639',
'_': '/home/nando/.virtualenvs/topicos_avancados_1/bin/python',
'__array_start': '0',
'_first': '0',
'_second': '1',
'escape_flag': '1',
'rvm_bin_path': '/home/nando/.rvm/bin',
'rvm_path': '/home/nando/.rvm',
'rvm_prefix': '/home/nando',
'rvm_reload_flag': '0',
'rvm_tar': 'tar',
'rvm_uname': 'Linux',
'rvm_version': '1.10.2',
'wsgi.errors': ', mode 'w' at 0x7f4eda11f270>,
'wsgi.file_wrapper': ,
'wsgi.input': ,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>

exceptions

resolver

urlresolvers

response

None

urlconf

'rh.urls'