No module named Image
Request Method: | GET |
---|---|
Request URL: | http://decom.ufop.br/marco/extensao/obi/ |
Django Version: | 1.3.7 |
Exception Type: | ImportError |
Exception Value: | No module named Image |
Exception Location: | /decom/www/marco/marco/publicacao/models.py in <module>, line 7 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/decom/www/marco/marco', '/decom/venv/django13/lib64/python27.zip', '/decom/venv/django13/lib64/python2.7', '/decom/venv/django13/lib64/python2.7/plat-linux2', '/decom/venv/django13/lib64/python2.7/lib-tk', '/decom/venv/django13/lib64/python2.7/lib-old', '/decom/venv/django13/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7', '/usr/lib/python2.7', '/decom/venv/django13/lib/python2.7/site-packages'] |
Server time: | Sex, 29 Mar 2024 07:21:32 -0300 |
/decom/venv/django13/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
if hasattr(request, "urlconf"):
# Reset url resolver with a custom urlconf.
urlconf = request.urlconf
urlresolvers.set_urlconf(urlconf)
resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)
callback, callback_args, callback_kwargs = resolver.resolve(
request.path_info)...
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
Variable | Value |
---|---|
settings | <django.conf.LazySettings object at 0x7f05f922df10> |
middleware_method | <bound method PaginationMiddleware.process_request of <pagination.middleware.PaginationMiddleware object at 0x7f05f805a050>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f05f8f90550> |
receivers | [(<function _rollback_on_exception at 0x7f05f8c391b8>, None)] |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/decom/www', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/decom/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'decom.ufop.br', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/extensao/obi/', 'PATH_TRANSLATED': '/decom/www/extensao/obi/', 'QUERY_STRING': '', 'REDIRECT_STATUS': '200', 'REDIRECT_UNIQUE_ID': 'ZgaWLHzmO8rXlzcbAou@aAAAAAU', 'REDIRECT_URL': '/marco/extensao/obi/', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '41106', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/marco/extensao/obi/', 'SCRIPT_FILENAME': '/decom/www/marco/marco/handler.wsgi', 'SCRIPT_NAME': u'/marco', 'SERVER_ADDR': '200.239.128.207', 'SERVER_ADMIN': 'luis@ufop.edu.br', 'SERVER_NAME': 'decom.ufop.br', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/3.4 Python/2.7.5 PHP/7.3.10', 'UNIQUE_ID': 'ZgaWLHzmO8rXlzcbAou@aAAAAAU', 'mod_wsgi.application_group': 'www3.decom.ufop.br|/marco/marco/handler.wsgi', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'marco', 'mod_wsgi.queue_start': '1711707692372151', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 4), 'wsgi.errors': <mod_wsgi.Log object at 0x7f05f3b82670>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f05f37ac210>, 'wsgi.input': <mod_wsgi.Input object at 0x7f05f8d2fa70>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
exceptions | <module 'django.core.exceptions' from '/decom/venv/django13/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
resolver | <RegexURLResolver urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/decom/venv/django13/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
response | None |
urlconf | 'urls' |
/decom/venv/django13/lib/python2.7/site-packages/django/core/urlresolvers.py
in resolve
app_dict = property(_get_app_dict)
def resolve(self, path):
tried = []
match = self.regex.search(path)
if match:
new_path = path[match.end():]
for pattern in self.url_patterns:...
try:
sub_match = pattern.resolve(new_path)
except Resolver404, e:
sub_tried = e.args[0].get('tried')
if sub_tried is not None:
tried.extend([[pattern] + t for t in sub_tried])
Variable | Value |
---|---|
path | u'/extensao/obi/' |
self | <RegexURLResolver urls (None:None) ^/> |
new_path | u'extensao/obi/' |
tried | [] |
match | <_sre.SRE_Match object at 0x7f05f3ab8100> |
/decom/venv/django13/lib/python2.7/site-packages/django/core/urlresolvers.py
in _get_url_patterns
return self._urlconf_module
except AttributeError:
self._urlconf_module = import_module(self.urlconf_name)
return self._urlconf_module
urlconf_module = property(_get_urlconf_module)
def _get_url_patterns(self):
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)...
try:
iter(patterns)
except TypeError:
raise ImproperlyConfigured("The included urlconf %s doesn't have any patterns in it" % self.urlconf_name)
return patterns
url_patterns = property(_get_url_patterns)
Variable | Value |
---|---|
self | <RegexURLResolver urls (None:None) ^/> |
/decom/venv/django13/lib/python2.7/site-packages/django/core/urlresolvers.py
in _get_urlconf_module
raise Resolver404({'tried': tried, 'path': new_path})
raise Resolver404({'path' : path})
def _get_urlconf_module(self):
try:
return self._urlconf_module
except AttributeError:
self._urlconf_module = import_module(self.urlconf_name)...
return self._urlconf_module
urlconf_module = property(_get_urlconf_module)
def _get_url_patterns(self):
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
try:
Variable | Value |
---|---|
self | <RegexURLResolver urls (None:None) ^/> |
/decom/venv/django13/lib/python2.7/site-packages/django/utils/importlib.py
in import_module
raise TypeError("relative imports require the 'package' argument")
level = 0
for character in name:
if character != '.':
break
level += 1
name = _resolve_name(name[level:], package, level)
__import__(name)...
return sys.modules[name]
Variable | Value |
---|---|
name | 'urls' |
package | None |
/decom/www/marco/marco/urls.py
in <module>
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
admin.autodiscover()...
urlpatterns = patterns('',
# media
url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.ADMIN_MEDIA_ROOT, 'show_indexes':False}, name='admin_media'),
url(r'^admin_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.ADMIN_MEDIA_ROOT, 'show_indexes':False}, name='admin_media'),
url(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes':False}, name='site_media'),
Variable | Value |
---|---|
admin | None |
include | None |
handler404 | None |
settings | None |
__builtins__ | {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'BufferError': <type 'exceptions.BufferError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'IOError': <type 'exceptions.IOError'>, 'ImportError': <type 'exceptions.ImportError'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'IndentationError': <type 'exceptions.IndentationError'>, 'IndexError': <type 'exceptions.IndexError'>, 'KeyError': <type 'exceptions.KeyError'>, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'LookupError': <type 'exceptions.LookupError'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'NameError': <type 'exceptions.NameError'>, 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'OSError': <type 'exceptions.OSError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'StandardError': <type 'exceptions.StandardError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'SystemError': <type 'exceptions.SystemError'>, 'SystemExit': <type 'exceptions.SystemExit'>, 'TabError': <type 'exceptions.TabError'>, 'True': True, 'TypeError': <type 'exceptions.TypeError'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'ValueError': <type 'exceptions.ValueError'>, 'Warning': <type 'exceptions.Warning'>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__name__': '__builtin__', '__package__': None, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'apply': <built-in function apply>, 'basestring': <type 'basestring'>, 'bin': <built-in function bin>, 'bool': <type 'bool'>, 'buffer': <type 'buffer'>, 'bytearray': <type 'bytearray'>, 'bytes': <type 'str'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <type 'classmethod'>, 'cmp': <built-in function cmp>, 'coerce': <built-in function coerce>, 'compile': <built-in function compile>, 'complex': <type 'complex'>, 'copyright': Copyright (c) 2001-2013 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <type 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'eval': <built-in function eval>, 'execfile': <built-in function execfile>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': <type 'file'>, 'filter': <built-in function filter>, 'float': <type 'float'>, 'format': <built-in function format>, 'frozenset': <type 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <type 'int'>, 'intern': <built-in function intern>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': See https://www.python.org/psf/license/, 'list': <type 'list'>, 'locals': <built-in function locals>, 'long': <type 'long'>, 'map': <built-in function map>, 'max': <built-in function max>, 'memoryview': <type 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <type 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <type 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <built-in function range>, 'raw_input': <built-in function raw_input>, 'reduce': <built-in function reduce>, 'reload': <built-in function reload>, 'repr': <built-in function repr>, 'reversed': <type 'reversed'>, 'round': <built-in function round>, 'set': <type 'set'>, 'setattr': <built-in function setattr>, 'slice': <type 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <type 'staticmethod'>, 'str': <type 'str'>, 'sum': <built-in function sum>, 'super': <type 'super'>, 'tuple': <type 'tuple'>, 'type': <type 'type'>, 'unichr': <built-in function unichr>, 'unicode': <type 'unicode'>, 'vars': <built-in function vars>, 'xrange': <type 'xrange'>, 'zip': <built-in function zip>} |
__file__ | None |
__package__ | None |
patterns | None |
url | None |
__name__ | None |
handler500 | None |
__doc__ | None |
/decom/venv/django13/lib/python2.7/site-packages/django/contrib/admin/__init__.py
in autodiscover
from django.utils.module_loading import module_has_submodule
for app in settings.INSTALLED_APPS:
mod = import_module(app)
# Attempt to import the app's admin module.
try:
before_import_registry = copy.copy(site._registry)
import_module('%s.admin' % app)...
except:
# Reset the model registry to the state before the last import as
# this import will have to reoccur on the next request and this
# could raise NotRegistered and AlreadyRegistered exceptions
# (see #8245).
site._registry = before_import_registry
Variable | Value |
---|---|
copy | <module 'copy' from '/usr/lib64/python2.7/copy.pyc'> |
settings | <django.conf.LazySettings object at 0x7f05f922df10> |
app | 'django.contrib.auth' |
before_import_registry | {} |
module_has_submodule | <function module_has_submodule at 0x7f05f8cca1b8> |
import_module | <function import_module at 0x7f05f9228398> |
mod | <module 'django.contrib.auth' from '/decom/venv/django13/lib/python2.7/site-packages/django/contrib/auth/__init__.pyc'> |
/decom/venv/django13/lib/python2.7/site-packages/django/utils/importlib.py
in import_module
raise TypeError("relative imports require the 'package' argument")
level = 0
for character in name:
if character != '.':
break
level += 1
name = _resolve_name(name[level:], package, level)
__import__(name)...
return sys.modules[name]
Variable | Value |
---|---|
name | 'django.contrib.auth.admin' |
package | None |
/decom/venv/django13/lib/python2.7/site-packages/django/contrib/auth/admin.py
in <module>
# button except in two scenarios:
# * The user has pressed the 'Save and add another' button
# * We are adding a user in a popup
if '_addanother' not in request.POST and '_popup' not in request.POST:
request.POST['_continue'] = 1
return super(UserAdmin, self).response_add(request, obj, post_url_continue)
admin.site.register(Group, GroupAdmin)...
admin.site.register(User, UserAdmin)
Variable | Value |
---|---|
UserChangeForm | None |
Group | None |
RequestContext | None |
UserAdmin | None |
PermissionDenied | None |
escape | None |
method_decorator | None |
UserCreationForm | None |
__package__ | None |
AdminPasswordChangeForm | None |
csrf_protect_m | None |
User | None |
GroupAdmin | None |
__doc__ | None |
__builtins__ | {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'BufferError': <type 'exceptions.BufferError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'IOError': <type 'exceptions.IOError'>, 'ImportError': <type 'exceptions.ImportError'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'IndentationError': <type 'exceptions.IndentationError'>, 'IndexError': <type 'exceptions.IndexError'>, 'KeyError': <type 'exceptions.KeyError'>, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'LookupError': <type 'exceptions.LookupError'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'NameError': <type 'exceptions.NameError'>, 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'OSError': <type 'exceptions.OSError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'StandardError': <type 'exceptions.StandardError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'SystemError': <type 'exceptions.SystemError'>, 'SystemExit': <type 'exceptions.SystemExit'>, 'TabError': <type 'exceptions.TabError'>, 'True': True, 'TypeError': <type 'exceptions.TypeError'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'ValueError': <type 'exceptions.ValueError'>, 'Warning': <type 'exceptions.Warning'>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__name__': '__builtin__', '__package__': None, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'apply': <built-in function apply>, 'basestring': <type 'basestring'>, 'bin': <built-in function bin>, 'bool': <type 'bool'>, 'buffer': <type 'buffer'>, 'bytearray': <type 'bytearray'>, 'bytes': <type 'str'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <type 'classmethod'>, 'cmp': <built-in function cmp>, 'coerce': <built-in function coerce>, 'compile': <built-in function compile>, 'complex': <type 'complex'>, 'copyright': Copyright (c) 2001-2013 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <type 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'eval': <built-in function eval>, 'execfile': <built-in function execfile>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': <type 'file'>, 'filter': <built-in function filter>, 'float': <type 'float'>, 'format': <built-in function format>, 'frozenset': <type 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <type 'int'>, 'intern': <built-in function intern>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': See https://www.python.org/psf/license/, 'list': <type 'list'>, 'locals': <built-in function locals>, 'long': <type 'long'>, 'map': <built-in function map>, 'max': <built-in function max>, 'memoryview': <type 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <type 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <type 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <built-in function range>, 'raw_input': <built-in function raw_input>, 'reduce': <built-in function reduce>, 'reload': <built-in function reload>, 'repr': <built-in function repr>, 'reversed': <type 'reversed'>, 'round': <built-in function round>, 'set': <type 'set'>, 'setattr': <built-in function setattr>, 'slice': <type 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <type 'staticmethod'>, 'str': <type 'str'>, 'sum': <built-in function sum>, 'super': <type 'super'>, 'tuple': <type 'tuple'>, 'type': <type 'type'>, 'unichr': <built-in function unichr>, 'unicode': <type 'unicode'>, 'vars': <built-in function vars>, 'xrange': <type 'xrange'>, 'zip': <built-in function zip>} |
__file__ | None |
ugettext | None |
Http404 | None |
__name__ | None |
csrf_protect | None |
_ | None |
HttpResponseRedirect | None |
transaction | None |
get_object_or_404 | None |
settings | None |
admin | None |
messages | None |
render_to_response | None |
/decom/venv/django13/lib/python2.7/site-packages/django/contrib/admin/sites.py
in register
# For reasons I don't quite understand, without a __module__
# the created class appears to "live" in the wrong place,
# which causes issues later on.
options['__module__'] = __name__
admin_class = type("%sAdmin" % model.__name__, (admin_class,), options)
# Validate (which might be a no-op)
validate(admin_class, model)...
# Instantiate the admin class to save in the registry
self._registry[model] = admin_class(model, self)
def unregister(self, model_or_iterable):
"""
Variable | Value |
---|---|
model_or_iterable | [<class 'django.contrib.auth.models.Group'>] |
self | <django.contrib.admin.sites.AdminSite object at 0x7f05f3cfc6d0> |
options | {} |
model | <class 'django.contrib.auth.models.Group'> |
admin_class | <class 'django.contrib.auth.admin.GroupAdmin'> |
validate | <function validate at 0x7f05f3d0d1b8> |
/decom/venv/django13/lib/python2.7/site-packages/django/contrib/admin/validation.py
in validate
"""
Does basic ModelAdmin option validation. Calls custom validation
classmethod in the end if it is provided in cls. The signature of the
custom validation classmethod should be: def validate(cls, model).
"""
# Before we can introspect models, they need to be fully loaded so that
# inter-relations are set up correctly. We force that here.
models.get_apps()...
opts = model._meta
validate_base(cls, model)
# list_display
if hasattr(cls, 'list_display'):
Variable | Value |
---|---|
model | <class 'django.contrib.auth.models.Group'> |
cls | <class 'django.contrib.auth.admin.GroupAdmin'> |
/decom/venv/django13/lib/python2.7/site-packages/django/db/models/loading.py
in get_apps
Useful for code that wants to cache the results of get_models() for
themselves once it is safe to do so.
"""
return self.loaded
def get_apps(self):
"Returns a list of all installed modules that contain models."
self._populate()...
# Ensure the returned list is always in the same order (with new apps
# added at the end). This avoids unstable ordering on the admin app
# list page, for example.
apps = [(v, k) for k, v in self.app_store.items()]
apps.sort()
Variable | Value |
---|---|
self | <django.db.models.loading.AppCache object at 0x7f05f8700c90> |
/decom/venv/django13/lib/python2.7/site-packages/django/db/models/loading.py
in _populate
return
for app_name in settings.INSTALLED_APPS:
if app_name in self.handled:
continue
self.load_app(app_name, True)
if not self.nesting_level:
for app_name in self.postponed:
self.load_app(app_name)...
self.loaded = True
finally:
self.write_lock.release()
def load_app(self, app_name, can_postpone=False):
"""
Variable | Value |
---|---|
self | <django.db.models.loading.AppCache object at 0x7f05f8700c90> |
app_name | 'publicacao' |
/decom/venv/django13/lib/python2.7/site-packages/django/db/models/loading.py
in load_app
Loads the app with the provided fully qualified name, and returns the
model module.
"""
self.handled[app_name] = None
self.nesting_level += 1
app_module = import_module(app_name)
try:
models = import_module('.models', app_name)...
except ImportError:
self.nesting_level -= 1
# If the app doesn't have a models module, we can just ignore the
# ImportError and return no models for it.
if not module_has_submodule(app_module, 'models'):
return None
Variable | Value |
---|---|
self | <django.db.models.loading.AppCache object at 0x7f05f8700c90> |
app_name | 'publicacao' |
app_module | <module 'publicacao' from '/decom/www/marco/marco/publicacao/__init__.pyc'> |
can_postpone | False |
/decom/venv/django13/lib/python2.7/site-packages/django/utils/importlib.py
in import_module
raise TypeError("relative imports require the 'package' argument")
level = 0
for character in name:
if character != '.':
break
level += 1
name = _resolve_name(name[level:], package, level)
__import__(name)...
return sys.modules[name]
Variable | Value |
---|---|
package | 'publicacao' |
character | 'm' |
name | 'publicacao.models' |
level | 1 |
/decom/www/marco/marco/publicacao/models.py
in <module>
# -*- encoding: utf-8 -*-
from django.db import models
from django.conf import settings
from django.contrib.localflavor.br.br_states import STATE_CHOICES
from datetime import datetime
from tinymce import models as tinymce_models
import Image, util, os...
PUBLICACAO_CLASSIFICACOES = (
('a1', u'A1'),
('a2', u'A2'),
('a3', u'A3'),
('a4', u'A4'),
Variable | Value |
---|---|
settings | None |
__builtins__ | {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'BufferError': <type 'exceptions.BufferError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'IOError': <type 'exceptions.IOError'>, 'ImportError': <type 'exceptions.ImportError'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'IndentationError': <type 'exceptions.IndentationError'>, 'IndexError': <type 'exceptions.IndexError'>, 'KeyError': <type 'exceptions.KeyError'>, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'LookupError': <type 'exceptions.LookupError'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'NameError': <type 'exceptions.NameError'>, 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'OSError': <type 'exceptions.OSError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'StandardError': <type 'exceptions.StandardError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'SystemError': <type 'exceptions.SystemError'>, 'SystemExit': <type 'exceptions.SystemExit'>, 'TabError': <type 'exceptions.TabError'>, 'True': True, 'TypeError': <type 'exceptions.TypeError'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'ValueError': <type 'exceptions.ValueError'>, 'Warning': <type 'exceptions.Warning'>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__name__': '__builtin__', '__package__': None, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'apply': <built-in function apply>, 'basestring': <type 'basestring'>, 'bin': <built-in function bin>, 'bool': <type 'bool'>, 'buffer': <type 'buffer'>, 'bytearray': <type 'bytearray'>, 'bytes': <type 'str'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <type 'classmethod'>, 'cmp': <built-in function cmp>, 'coerce': <built-in function coerce>, 'compile': <built-in function compile>, 'complex': <type 'complex'>, 'copyright': Copyright (c) 2001-2013 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <type 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'eval': <built-in function eval>, 'execfile': <built-in function execfile>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': <type 'file'>, 'filter': <built-in function filter>, 'float': <type 'float'>, 'format': <built-in function format>, 'frozenset': <type 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <type 'int'>, 'intern': <built-in function intern>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': See https://www.python.org/psf/license/, 'list': <type 'list'>, 'locals': <built-in function locals>, 'long': <type 'long'>, 'map': <built-in function map>, 'max': <built-in function max>, 'memoryview': <type 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <type 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <type 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <built-in function range>, 'raw_input': <built-in function raw_input>, 'reduce': <built-in function reduce>, 'reload': <built-in function reload>, 'repr': <built-in function repr>, 'reversed': <type 'reversed'>, 'round': <built-in function round>, 'set': <type 'set'>, 'setattr': <built-in function setattr>, 'slice': <type 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <type 'staticmethod'>, 'str': <type 'str'>, 'sum': <built-in function sum>, 'super': <type 'super'>, 'tuple': <type 'tuple'>, 'type': <type 'type'>, 'unichr': <built-in function unichr>, 'unicode': <type 'unicode'>, 'vars': <built-in function vars>, 'xrange': <type 'xrange'>, 'zip': <built-in function zip>} |
__file__ | None |
__package__ | None |
models | None |
STATE_CHOICES | None |
__name__ | None |
tinymce_models | None |
datetime | None |
__doc__ | None |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
REDIRECT_UNIQUE_ID | 'ZgaWLHzmO8rXlzcbAou@aAAAAAU' |
mod_wsgi.listener_port | '80' |
REDIRECT_STATUS | '200' |
CONTEXT_DOCUMENT_ROOT | '/decom/www' |
SERVER_SOFTWARE | 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/3.4 Python/2.7.5 PHP/7.3.10' |
SCRIPT_NAME | u'/marco' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/extensao/obi/' |
REDIRECT_URL | '/marco/extensao/obi/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'decom.ufop.br' |
REMOTE_ADDR | '44.220.43.170' |
mod_wsgi.queue_start | '1711707692372151' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/decom/www/extensao/obi/' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '200.239.128.207' |
DOCUMENT_ROOT | '/decom/www' |
mod_wsgi.process_group | 'marco' |
SCRIPT_FILENAME | '/decom/www/marco/marco/handler.wsgi' |
SERVER_ADMIN | 'luis@ufop.edu.br' |
wsgi.input | <mod_wsgi.Input object at 0x7f05f8d2fa70> |
HTTP_HOST | 'decom.ufop.br' |
CONTEXT_PREFIX | '' |
wsgi.multithread | False |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/marco/extensao/obi/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f05f3b82670> |
REMOTE_PORT | '41106' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'http' |
mod_wsgi.version | (3, 4) |
mod_wsgi.application_group | 'www3.decom.ufop.br|/marco/marco/handler.wsgi' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
UNIQUE_ID | 'ZgaWLHzmO8rXlzcbAou@aAAAAAU' |
settings
Setting | Value |
---|---|
DATABASES | {'default': {'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/decom/www/marco/marco/dados.db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Sao_Paulo', 'USER': ''}} |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.media.PlaceholderMediaMiddleware', 'pagination.middleware.PaginationMiddleware') |
TINYMCE_JS_ROOT | '/decom/www/marco/marco/../site_media/admin/tiny_mce' |
USE_THOUSAND_SEPARATOR | False |
UPLOAD_PATH | 'uploads' |
LANGUAGE_CODE | 'pt-br' |
ROOT_URLCONF | 'urls' |
MANAGERS | ((u'Marco Ant\xf4nio Moreira de Carvalho', 'marco.opt@gmail.com'), (u'T\xfalio Toffolo', 'tulio@toffolo.com.br')) |
DEFAULT_CHARSET | 'utf-8' |
CMS_MEDIA_ROOT | '/decom/www/marco/marco/../site_media/cms/' |
STATIC_ROOT | '' |
CMS_SHOW_START_DATE | False |
DEFAULT_LANGUAGE | 0 |
CMS_MODERATOR | False |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
CMS_TEMPLATE_INHERITANCE_MAGIC | 'INHERIT' |
URL_VALIDATOR_USER_AGENT | 'Django/1.3.7 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
CMS_MEDIA_URL | '/marco/site_media/cms/' |
CMS_SHOW_END_DATE | False |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
ABSOLUTE_URL_PREFIX | '/marco/' |
TEST_DATABASE_NAME | 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 |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
CMS_MENU_TITLE_OVERWRITE | True |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
UPLOAD_ROOT | '/decom/www/marco/marco/uploads' |
CMS_FRONTEND_LANGUAGES | ['pt-br'] |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
CMS_TEMPLATE_INHERITANCE | True |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
CMS_TEMPLATES | (('index.html', u'Default'), ('inicio.html', u'P\xe1gina Inicial'), ('disciplina_nivel0.html', u'Menu no N\xedvel 2'), ('disciplina_nivel1.html', u'Menu no N\xedvel 3'), ('INHERIT', <django.utils.functional.__proxy__ object at 0x7f05f8d26d50>)) |
CMS_CACHE_PREFIX | 'cms-' |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
CMS_LANGUAGES | [('pt-br', 'Brazilian Portuguese')] |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SESSION_COOKIE_AGE | 1209600 |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.app_directories.load_template_source') |
CMS_REDIRECTS | True |
CMS_DBGETTEXT | False |
TEMPLATE_DEBUG | True |
CSRF_COOKIE_NAME | 'csrftoken' |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
USE_ETAGS | False |
SESSION_COOKIE_SECURE | False |
CMS_SOFTROOT | False |
CMS_LANGUAGE_FALLBACK | True |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CMS_CONTENT_CACHE_DURATION | 60 |
SESSION_FILE_PATH | None |
CMS_APPHOOKS | () |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'cms', 'menus', 'mptt', 'appmedia', 'south', 'cms.plugins.text', 'cms.plugins.picture', 'cms.plugins.link', 'cms.plugins.file', 'cms.plugins.snippet', 'cms.plugins.googlemap', 'filebrowser', 'pagination', 'tinymce', 'publicacao'] |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
USE_L10N | True |
DATABASE_ENGINE | '' |
URL_TINYMCE | '/marco/site_media/admin/tiny_mce/tiny_mce.js' |
FILEBROWSER_PATH_MEDIA | '/marco/site_media/admin/filebrowser/' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
MENU_CACHE_DURATION | 3600 |
TEST_DATABASE_CHARSET | None |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
CMS_PAGE_MEDIA_PATH | 'uploads/cms_page_media/' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
FILEBROWSER_SELECT_FORMATS | {'Document': ['Document', 'Zip', 'Code'], 'File': ['Folder', 'Document', 'Zip', 'Code'], 'Image': ['Image'], 'Media': ['Video', 'Sound'], 'document': ['Document', 'Zip', 'Code'], 'file': ['Folder', 'Image', 'Document', 'Zip', 'Code'], 'image': ['Image']} |
FILEBROWSER_EXTENSIONS | {'Code': ['.html', '.py', '.js', '.css', '.c', '.cpp'], 'Document': ['.pdf', '.doc', '.rtf', '.txt', '.xls', '.csv'], 'Folder': [''], 'Image': ['.jpg', '.jpeg', '.gif', '.png', '.tif', '.tiff'], 'Sound': ['.mp3', '.mp4', '.wav', '.aiff', '.midi'], 'Video': ['.mov', '.wmv', '.mpeg', '.mpg', '.avi', '.rm'], 'Zip': ['.zip', '.rar']} |
TINYMCE_FILEBROWSER | True |
URL_PREFIX | '/marco/' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
TINYMCE_JS_URL | '/marco/site_media/admin/tiny_mce/tiny_mce.js' |
PLACEHOLDER_FRONTEND_EDITING | True |
TIME_FORMAT | 'H:i:s' |
FILEBROWSER_SAVE_FULL_URL | True |
NUMBER_GROUPING | 0 |
PROFANITIES_LIST | '********************' |
DATE_INPUT_FORMAT | '%d/%m/%y' |
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 | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/marco/site_media/admin/' |
CMS_URL_OVERWRITE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
CMS_SEO_FIELDS | False |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
DISALLOWED_USER_AGENTS | () |
CMS_HIDE_UNTRANSLATED | False |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('/decom/www/marco/marco/templates',) |
CMS_SITE_CHOICES_CACHE_KEY | 'CMS:site_choices' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'd/m/y' |
MEDIA_ROOT | '/decom/www/marco/marco/../site_media' |
ADMINS | ((u'Marco Ant\xf4nio Moreira de Carvalho', 'marco.opt@gmail.com'), (u'T\xfalio Toffolo', 'tulio@toffolo.com.br')) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATICFILES_DIRS | () |
MEDIA_URL | '/marco/site_media/' |
DATETIME_FORMAT | 'd/m/y \xc3\xa0s H:i:s' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
CMS_PAGE_CHOICES_CACHE_KEY | 'CMS:page_choices' |
CMS_TITLE_CHARACTER | '+' |
SITE_ID | 1 |
CMS_PERMISSION | False |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
PREPEND_WWW | False |
PROJECT_DIR | '/decom/www/marco/marco' |
SECRET_KEY | '********************' |
DATABASE_USER | '' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
SHORT_DATE_FORMAT | 'm/d/Y' |
TIME_ZONE | 'America/Sao_Paulo' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILEBROWSER_URL_FILEBROWSER_MEDIA | '/marco/site_media/admin/filebrowser/' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
CMS_MEDIA_PATH | 'cms/' |
CMS_FLAT_URLS | False |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'cms.context_processors.media') |
COMMENTS_ALLOW_PROFANITIES | False |
SETTINGS_MODULE | 'settings' |
CMS_DBGETTEXT_SLUGS | False |
LANGUAGES | [('pt-br', 'Brazilian Portuguese')] |
CMS_LANGUAGE_CONF | {} |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | None |
EMAIL_PORT | 25 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
CMS_PLACEHOLDER_CONF | {} |
TINYMCE_DEFAULT_CONFIG | {'auto_cleanup_word': 'True', 'cleanup_on_startup': 'True', 'content_css': '/marco/site_media/css/conteudo.css', 'height': '500px', 'mode': 'textareas', 'plugins': 'table,advhr,advimage,advlink,preview,searchreplace,contextmenu,fullscreen', 'relative_urls': False, 'theme': 'advanced', 'theme_advanced_buttons1': 'formatselect,|,bold,italic,underline,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,|,code,preview', 'theme_advanced_buttons2': '', 'theme_advanced_buttons3': '', 'theme_advanced_resizing': 'true', 'theme_advanced_statusbar_location': 'bottom', 'theme_advanced_toolbar_align': 'left', 'theme_advanced_toolbar_location': 'top'} |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
BANNED_IPS | () |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
CMS_USE_TINYMCE | True |
DATABASE_PASSWORD | '********************' |
COMMENTS_MODERATORS_GROUP | None |
ADMIN_MEDIA_ROOT | '/decom/www/marco/marco/../site_media/admin' |
CMS_SITE_LANGUAGES | {} |
EMAIL_HOST_USER | '' |
COMMENTS_BANNED_USERS_GROUP | None |
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.