(com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True')
Request Method: | GET |
---|---|
Request URL: | http://portaldesa.mtc.gob.pe/cambiemosdeactitud/?page=9 |
Django Version: | 1.7.8 |
Exception Type: | OperationalError |
Exception Value: | (com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
Exception Location: | C:\Python27\lib\site-packages\sqlserver_ado\dbapi.py in connect, line 196 |
Python Executable: | C:\Python27\python.exe |
Python Version: | 2.7.10 |
Python Path: | ['.', 'C:\\Python27\\lib\\site-packages\\tzlocal-1.2-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\django_treebeard-3.0-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\django_appmedia-1.0.1-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\django_select2-4.3.0-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\djangocms_link-1.6.2-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\djangocms_style-1.5-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\html5lib-0.95-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\sqlparse-0.1.15-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\django_youtube-0.2-py2.7.egg', 'C:\\Python27\\lib\\site-packages\\pywin32-219-py2.7-win32.egg', 'C:\\inetpub\\wwwroot\\cambiemosdeactitud', 'C:\\Windows\\system32\\python27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages'] |
Server time: | Jue, 28 Mar 2024 05:01:20 -0500 |
C:\Python27\lib\site-packages\django\core\handlers\base.py
in get_response
urlconf = settings.ROOT_URLCONF
urlresolvers.set_urlconf(urlconf)
resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)
try:
response = None
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)...
if response:
break
if response is None:
if hasattr(request, 'urlconf'):
# Reset url resolver with a custom urlconf.
Variable | Value |
---|---|
middleware_method | <bound method ToolbarMiddleware.process_request of <cms.middleware.toolbar.ToolbarMiddleware object at 0x028E77F0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x01090A70> |
request | "<WSGIRequest\npath:/cambiemosdeactitud/,\nGET:<QueryDict: {u'page': [u'9']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'APPL_MD_PATH': '/LM/W3SVC/2/ROOT',\n 'APPL_PHYSICAL_PATH': 'D:\\\\nuevoportal\\\\nuevo\\\\',\n 'APP_POOL_CONFIG': 'C:\\\\inetpub\\\\temp\\\\apppools\\\\PORTAL\\\\PORTAL.config',\n 'APP_POOL_ID': 'PORTAL',\n 'AUTH_PASSWORD': '',\n 'AUTH_TYPE': '',\n 'AUTH_USER': '',\n 'CERT_COOKIE': '',\n 'CERT_FLAGS': '',\n 'CERT_ISSUER': '',\n 'CERT_SERIALNUMBER': '',\n 'CERT_SUBJECT': '',\n 'CONTENT_LENGTH': '0',\n 'CONTENT_TYPE': '',\n 'DOCUMENT_ROOT': 'D:\\\\nuevoportal\\\\nuevo',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTPS': 'off',\n 'HTTPS_KEYSIZE': '',\n 'HTTPS_SECRETKEYSIZE': '',\n 'HTTPS_SERVER_ISSUER': '',\n 'HTTPS_SERVER_SUBJECT': '',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'Keep-Alive',\n 'HTTP_HOST': 'portaldesa.mtc.gob.pe',\n 'HTTP_MAX_FORWARDS': '10',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_ARR_LOG_ID': 'd8650cd5-5638-4e62-8411-2d2df667217a',\n 'HTTP_X_FORWARDED_FOR': '44.222.116.199:47724',\n 'HTTP_X_ORIGINAL_URL': '/cambiemosdeactitud/?page=9',\n 'IIS_UrlRewriteModule': '7.1.1952.0',\n 'INSTANCE_ID': '2',\n 'INSTANCE_META_PATH': '/LM/W3SVC/2',\n 'INSTANCE_NAME': 'DESARROLLO DEL PORTAL DEL MTC',\n 'LOCAL_ADDR': '192.168.251.84',\n 'LOGON_USER': '',\n 'PATH_INFO': u'/cambiemosdeactitud/',\n 'PATH_TRANSLATED': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'QUERY_STRING': 'page=9',\n 'REMOTE_ADDR': '172.20.1.38',\n 'REMOTE_HOST': '172.20.1.38',\n 'REMOTE_PORT': '53066',\n 'REMOTE_USER': '',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/cambiemosdeactitud/?page=9',\n 'SCRIPT_FILENAME': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portaldesa.mtc.gob.pe',\n 'SERVER_PORT': '80',\n 'SERVER_PORT_SECURE': '0',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Microsoft-IIS/7.5',\n 'URL': '/cambiemosdeactitud/',\n 'wfastcgi.http_x_original_url': '/cambiemosdeactitud/?page=9',\n 'wsgi.errors': <cStringIO.StringO object at 0x00F032A0>,\n 'wsgi.input': <cStringIO.StringI object at 0x00ED73C8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.path_info': '/cambiemosdeactitud/',\n 'wsgi.query_string': 'page=9',\n 'wsgi.run_once': False,\n 'wsgi.script_name': '',\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
response | None |
urlconf | 'project.urls' |
C:\Python27\lib\site-packages\cms\middleware\toolbar.py
in process_request
try:
request.cms_latest_entry = LogEntry.objects.filter(
user=request.user,
action_flag__in=(ADDITION, CHANGE)
).only('pk').order_by('-pk')[0].pk
except IndexError:
request.cms_latest_entry = -1
request.toolbar = CMSToolbar(request)...
def process_view(self, request, view_func, view_args, view_kwarg):
response = request.toolbar.request_hook()
if isinstance(response, HttpResponse):
return response
Variable | Value |
---|---|
self | <cms.middleware.toolbar.ToolbarMiddleware object at 0x028E77F0> |
request | "<WSGIRequest\npath:/cambiemosdeactitud/,\nGET:<QueryDict: {u'page': [u'9']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'APPL_MD_PATH': '/LM/W3SVC/2/ROOT',\n 'APPL_PHYSICAL_PATH': 'D:\\\\nuevoportal\\\\nuevo\\\\',\n 'APP_POOL_CONFIG': 'C:\\\\inetpub\\\\temp\\\\apppools\\\\PORTAL\\\\PORTAL.config',\n 'APP_POOL_ID': 'PORTAL',\n 'AUTH_PASSWORD': '',\n 'AUTH_TYPE': '',\n 'AUTH_USER': '',\n 'CERT_COOKIE': '',\n 'CERT_FLAGS': '',\n 'CERT_ISSUER': '',\n 'CERT_SERIALNUMBER': '',\n 'CERT_SUBJECT': '',\n 'CONTENT_LENGTH': '0',\n 'CONTENT_TYPE': '',\n 'DOCUMENT_ROOT': 'D:\\\\nuevoportal\\\\nuevo',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTPS': 'off',\n 'HTTPS_KEYSIZE': '',\n 'HTTPS_SECRETKEYSIZE': '',\n 'HTTPS_SERVER_ISSUER': '',\n 'HTTPS_SERVER_SUBJECT': '',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'Keep-Alive',\n 'HTTP_HOST': 'portaldesa.mtc.gob.pe',\n 'HTTP_MAX_FORWARDS': '10',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_ARR_LOG_ID': 'd8650cd5-5638-4e62-8411-2d2df667217a',\n 'HTTP_X_FORWARDED_FOR': '44.222.116.199:47724',\n 'HTTP_X_ORIGINAL_URL': '/cambiemosdeactitud/?page=9',\n 'IIS_UrlRewriteModule': '7.1.1952.0',\n 'INSTANCE_ID': '2',\n 'INSTANCE_META_PATH': '/LM/W3SVC/2',\n 'INSTANCE_NAME': 'DESARROLLO DEL PORTAL DEL MTC',\n 'LOCAL_ADDR': '192.168.251.84',\n 'LOGON_USER': '',\n 'PATH_INFO': u'/cambiemosdeactitud/',\n 'PATH_TRANSLATED': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'QUERY_STRING': 'page=9',\n 'REMOTE_ADDR': '172.20.1.38',\n 'REMOTE_HOST': '172.20.1.38',\n 'REMOTE_PORT': '53066',\n 'REMOTE_USER': '',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/cambiemosdeactitud/?page=9',\n 'SCRIPT_FILENAME': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portaldesa.mtc.gob.pe',\n 'SERVER_PORT': '80',\n 'SERVER_PORT_SECURE': '0',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Microsoft-IIS/7.5',\n 'URL': '/cambiemosdeactitud/',\n 'wfastcgi.http_x_original_url': '/cambiemosdeactitud/?page=9',\n 'wsgi.errors': <cStringIO.StringO object at 0x00F032A0>,\n 'wsgi.input': <cStringIO.StringI object at 0x00ED73C8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.path_info': '/cambiemosdeactitud/',\n 'wsgi.query_string': 'page=9',\n 'wsgi.run_once': False,\n 'wsgi.script_name': '',\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
disable | 'toolbar_off' |
edit_on | 'edit' |
build | 'build' |
edit_off | 'edit_off' |
C:\Python27\lib\site-packages\cms\toolbar\toolbar.py
in __init__
if path in installed_apps():
self.app_name = path
break
parts.pop()
self.toolbars = SortedDict()
for key in toolbars:
toolbar = toolbars[key](self.request, self, toolbars[key].check_current_app(key, self.app_name), self.app_name)...
self.toolbars[key] = toolbar
def init_toolbar(self, request):
self.request = request
self.is_staff = self.request.user.is_staff
self.edit_mode = self.is_staff and self.request.session.get('cms_edit', False)
Variable | Value |
---|---|
self | <cms.toolbar.toolbar.CMSToolbar object at 0x0293C8D0> |
request | "<WSGIRequest\npath:/cambiemosdeactitud/,\nGET:<QueryDict: {u'page': [u'9']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'APPL_MD_PATH': '/LM/W3SVC/2/ROOT',\n 'APPL_PHYSICAL_PATH': 'D:\\\\nuevoportal\\\\nuevo\\\\',\n 'APP_POOL_CONFIG': 'C:\\\\inetpub\\\\temp\\\\apppools\\\\PORTAL\\\\PORTAL.config',\n 'APP_POOL_ID': 'PORTAL',\n 'AUTH_PASSWORD': '',\n 'AUTH_TYPE': '',\n 'AUTH_USER': '',\n 'CERT_COOKIE': '',\n 'CERT_FLAGS': '',\n 'CERT_ISSUER': '',\n 'CERT_SERIALNUMBER': '',\n 'CERT_SUBJECT': '',\n 'CONTENT_LENGTH': '0',\n 'CONTENT_TYPE': '',\n 'DOCUMENT_ROOT': 'D:\\\\nuevoportal\\\\nuevo',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTPS': 'off',\n 'HTTPS_KEYSIZE': '',\n 'HTTPS_SECRETKEYSIZE': '',\n 'HTTPS_SERVER_ISSUER': '',\n 'HTTPS_SERVER_SUBJECT': '',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'Keep-Alive',\n 'HTTP_HOST': 'portaldesa.mtc.gob.pe',\n 'HTTP_MAX_FORWARDS': '10',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_ARR_LOG_ID': 'd8650cd5-5638-4e62-8411-2d2df667217a',\n 'HTTP_X_FORWARDED_FOR': '44.222.116.199:47724',\n 'HTTP_X_ORIGINAL_URL': '/cambiemosdeactitud/?page=9',\n 'IIS_UrlRewriteModule': '7.1.1952.0',\n 'INSTANCE_ID': '2',\n 'INSTANCE_META_PATH': '/LM/W3SVC/2',\n 'INSTANCE_NAME': 'DESARROLLO DEL PORTAL DEL MTC',\n 'LOCAL_ADDR': '192.168.251.84',\n 'LOGON_USER': '',\n 'PATH_INFO': u'/cambiemosdeactitud/',\n 'PATH_TRANSLATED': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'QUERY_STRING': 'page=9',\n 'REMOTE_ADDR': '172.20.1.38',\n 'REMOTE_HOST': '172.20.1.38',\n 'REMOTE_PORT': '53066',\n 'REMOTE_USER': '',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/cambiemosdeactitud/?page=9',\n 'SCRIPT_FILENAME': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portaldesa.mtc.gob.pe',\n 'SERVER_PORT': '80',\n 'SERVER_PORT_SECURE': '0',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Microsoft-IIS/7.5',\n 'URL': '/cambiemosdeactitud/',\n 'wfastcgi.http_x_original_url': '/cambiemosdeactitud/?page=9',\n 'wsgi.errors': <cStringIO.StringO object at 0x00F032A0>,\n 'wsgi.input': <cStringIO.StringI object at 0x00ED73C8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.path_info': '/cambiemosdeactitud/',\n 'wsgi.query_string': 'page=9',\n 'wsgi.run_once': False,\n 'wsgi.script_name': '',\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
toolbars | {'cms.cms_toolbar.PlaceholderToolbar': <class 'cms.cms_toolbar.PlaceholderToolbar'>, 'cms.cms_toolbar.BasicToolbar': <class 'cms.cms_toolbar.BasicToolbar'>, 'cms.cms_toolbar.PageToolbar': <class 'cms.cms_toolbar.PageToolbar'>} |
parts | ['cms'] |
key | 'cms.cms_toolbar.PlaceholderToolbar' |
path | 'cms' |
decorator | <function details at 0x01B4C430> |
C:\Python27\lib\site-packages\cms\toolbar_base.py
in __init__
supported_apps = None
def __init__(self, request, toolbar, is_current_app, app_path):
self.request = request
self.toolbar = toolbar
self.is_current_app = is_current_app
self.app_path = app_path
self.current_site = Site.objects.get_current()...
try:
self.current_lang = get_language_object(get_language_from_request(self.request), self.current_site.pk)['code']
except LanguageError:
self.current_lang = None
def populate(self):
Variable | Value |
---|---|
is_current_app | True |
app_path | 'cms' |
self | <cms.cms_toolbar.PlaceholderToolbar object at 0x029520F0> |
request | "<WSGIRequest\npath:/cambiemosdeactitud/,\nGET:<QueryDict: {u'page': [u'9']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'APPL_MD_PATH': '/LM/W3SVC/2/ROOT',\n 'APPL_PHYSICAL_PATH': 'D:\\\\nuevoportal\\\\nuevo\\\\',\n 'APP_POOL_CONFIG': 'C:\\\\inetpub\\\\temp\\\\apppools\\\\PORTAL\\\\PORTAL.config',\n 'APP_POOL_ID': 'PORTAL',\n 'AUTH_PASSWORD': '',\n 'AUTH_TYPE': '',\n 'AUTH_USER': '',\n 'CERT_COOKIE': '',\n 'CERT_FLAGS': '',\n 'CERT_ISSUER': '',\n 'CERT_SERIALNUMBER': '',\n 'CERT_SUBJECT': '',\n 'CONTENT_LENGTH': '0',\n 'CONTENT_TYPE': '',\n 'DOCUMENT_ROOT': 'D:\\\\nuevoportal\\\\nuevo',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTPS': 'off',\n 'HTTPS_KEYSIZE': '',\n 'HTTPS_SECRETKEYSIZE': '',\n 'HTTPS_SERVER_ISSUER': '',\n 'HTTPS_SERVER_SUBJECT': '',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'Keep-Alive',\n 'HTTP_HOST': 'portaldesa.mtc.gob.pe',\n 'HTTP_MAX_FORWARDS': '10',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_ARR_LOG_ID': 'd8650cd5-5638-4e62-8411-2d2df667217a',\n 'HTTP_X_FORWARDED_FOR': '44.222.116.199:47724',\n 'HTTP_X_ORIGINAL_URL': '/cambiemosdeactitud/?page=9',\n 'IIS_UrlRewriteModule': '7.1.1952.0',\n 'INSTANCE_ID': '2',\n 'INSTANCE_META_PATH': '/LM/W3SVC/2',\n 'INSTANCE_NAME': 'DESARROLLO DEL PORTAL DEL MTC',\n 'LOCAL_ADDR': '192.168.251.84',\n 'LOGON_USER': '',\n 'PATH_INFO': u'/cambiemosdeactitud/',\n 'PATH_TRANSLATED': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'QUERY_STRING': 'page=9',\n 'REMOTE_ADDR': '172.20.1.38',\n 'REMOTE_HOST': '172.20.1.38',\n 'REMOTE_PORT': '53066',\n 'REMOTE_USER': '',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/cambiemosdeactitud/?page=9',\n 'SCRIPT_FILENAME': 'C:\\\\inetpub\\\\wwwroot\\\\cambiemosdeactitud\\\\',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'portaldesa.mtc.gob.pe',\n 'SERVER_PORT': '80',\n 'SERVER_PORT_SECURE': '0',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Microsoft-IIS/7.5',\n 'URL': '/cambiemosdeactitud/',\n 'wfastcgi.http_x_original_url': '/cambiemosdeactitud/?page=9',\n 'wsgi.errors': <cStringIO.StringO object at 0x00F032A0>,\n 'wsgi.input': <cStringIO.StringI object at 0x00ED73C8>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.path_info': '/cambiemosdeactitud/',\n 'wsgi.query_string': 'page=9',\n 'wsgi.run_once': False,\n 'wsgi.script_name': '',\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
toolbar | <cms.toolbar.toolbar.CMSToolbar object at 0x0293C8D0> |
C:\Python27\lib\site-packages\django\contrib\sites\models.py
in get_current
raise ImproperlyConfigured(
"You're using the Django \"sites framework\" without having "
"set the SITE_ID setting. Create a site in your database and "
"set the SITE_ID setting to fix this error.")
try:
current_site = SITE_CACHE[sid]
except KeyError:
current_site = self.get(pk=sid)...
SITE_CACHE[sid] = current_site
return current_site
def clear_cache(self):
"""Clears the ``Site`` object cache."""
global SITE_CACHE
Variable | Value |
---|---|
self | <django.contrib.sites.models.SiteManager object at 0x0220AA30> |
sid | 1 |
settings | <django.conf.LazySettings object at 0x0128CD30> |
C:\Python27\lib\site-packages\django\db\models\manager.py
in manager_method
def check(self, **kwargs):
return []
@classmethod
def _get_queryset_methods(cls, queryset_class):
def create_method(name, method):
def manager_method(self, *args, **kwargs):
return getattr(self.get_queryset(), name)(*args, **kwargs)...
manager_method.__name__ = method.__name__
manager_method.__doc__ = method.__doc__
return manager_method
new_methods = {}
# Refs http://bugs.python.org/issue1785.
Variable | Value |
---|---|
self | <django.contrib.sites.models.SiteManager object at 0x0220AA30> |
args | () |
name | 'get' |
kwargs | {'pk': 1} |
C:\Python27\lib\site-packages\django\db\models\query.py
in get
"""
clone = self.filter(*args, **kwargs)
if self.query.can_filter():
clone = clone.order_by()
if (not clone.query.select_for_update or
connections[self.db].features.supports_select_for_update_with_limit):
clone = clone[:MAX_GET_RESULTS + 1]
num = len(clone)...
if num == 1:
return clone._result_cache[0]
if not num:
raise self.model.DoesNotExist(
"%s matching query does not exist." %
self.model._meta.object_name)
Variable | Value |
---|---|
clone | Error in formatting: (com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
args | () |
self | Error in formatting: (com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
kwargs | {'pk': 1} |
C:\Python27\lib\site-packages\django\db\models\query.py
in __len__
def __repr__(self):
data = list(self[:REPR_OUTPUT_SIZE + 1])
if len(data) > REPR_OUTPUT_SIZE:
data[-1] = "...(remaining elements truncated)..."
return repr(data)
def __len__(self):
self._fetch_all()...
return len(self._result_cache)
def __iter__(self):
"""
The queryset iterator protocol uses three nested iterators in the
default case:
Variable | Value |
---|---|
self | Error in formatting: (com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
C:\Python27\lib\site-packages\django\db\models\query.py
in _fetch_all
c.__dict__.update(kwargs)
if setup and hasattr(c, '_setup_query'):
c._setup_query()
return c
def _fetch_all(self):
if self._result_cache is None:
self._result_cache = list(self.iterator())...
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
self | Error in formatting: (com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
C:\Python27\lib\site-packages\django\db\models\query.py
in iterator
# Cache db and model outside the loop
db = self.db
model = self.model
compiler = self.query.get_compiler(using=db)
if fill_cache:
klass_info = get_klass_info(model, max_depth=max_depth,
requested=requested, only_load=only_load)
for row in compiler.results_iter():...
if fill_cache:
obj, _ = get_cached_row(row, index_start, db, klass_info,
offset=len(aggregate_select))
else:
# Omit aggregates in object creation.
row_data = row[index_start:aggregate_start]
Variable | Value |
---|---|
requested | None |
fill_cache | False |
aggregate_select | [] |
skip | None |
self | Error in formatting: (com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
load_fields | [] |
db | 'default' |
index_start | 0 |
extra_select | [] |
fields | [<django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: domain>, <django.db.models.fields.CharField: name>] |
aggregate_start | 3 |
model | <class 'django.contrib.sites.models.Site'> |
only_load | {} |
max_depth | 5 |
compiler | <sqlserver_ado.compiler.SQLCompiler object at 0x02952550> |
C:\Python27\lib\site-packages\django\db\models\sql\compiler.py
in results_iter
def results_iter(self):
"""
Returns an iterator over the results from executing this query.
"""
resolve_columns = hasattr(self, 'resolve_columns')
fields = None
has_aggregate_select = bool(self.query.aggregate_select)
for rows in self.execute_sql(MULTI):...
for row in rows:
if has_aggregate_select:
loaded_fields = self.query.get_loaded_field_names().get(self.query.model, set()) or self.query.select
aggregate_start = len(self.query.extra_select) + len(loaded_fields)
aggregate_end = aggregate_start + len(self.query.aggregate_select)
if resolve_columns:
Variable | Value |
---|---|
fields | None |
self | <sqlserver_ado.compiler.SQLCompiler object at 0x02952550> |
has_aggregate_select | False |
resolve_columns | True |
C:\Python27\lib\site-packages\django\db\models\sql\compiler.py
in execute_sql
raise EmptyResultSet
except EmptyResultSet:
if result_type == MULTI:
return iter([])
else:
return
cursor = self.connection.cursor()...
try:
cursor.execute(sql, params)
except Exception:
cursor.close()
raise
Variable | Value |
---|---|
self | <sqlserver_ado.compiler.SQLCompiler object at 0x02952550> |
params | (1,) |
result_type | 'multi' |
sql | u'SELECT [django_site].[id], [django_site].[domain], [django_site].[name] FROM [django_site] WHERE [django_site].[id] = %s ORDER BY 1 OFFSET 0 ROWS FETCH NEXT 21 ROWS ONLY' |
C:\Python27\lib\site-packages\django\db\backends\__init__.py
in cursor
def cursor(self):
"""
Creates a cursor, opening a connection if necessary.
"""
self.validate_thread_sharing()
if self.queries_logged:
cursor = self.make_debug_cursor(self._cursor())...
else:
cursor = utils.CursorWrapper(self._cursor(), self)
return cursor
def commit(self):
"""
Variable | Value |
---|---|
self | <sqlserver_ado.base.DatabaseWrapper object at 0x0212DFB0> |
C:\Python27\lib\site-packages\django\db\backends\__init__.py
in _cursor
if self.connection is None:
with self.wrap_database_errors:
self.connect()
##### Backend-specific wrappers for PEP-249 connection methods #####
def _cursor(self):
self.ensure_connection()...
with self.wrap_database_errors:
return self.create_cursor()
def _commit(self):
if self.connection is not None:
with self.wrap_database_errors:
Variable | Value |
---|---|
self | <sqlserver_ado.base.DatabaseWrapper object at 0x0212DFB0> |
C:\Python27\lib\site-packages\django\db\backends\__init__.py
in ensure_connection
def ensure_connection(self):
"""
Guarantees that a connection to the database is established.
"""
if self.connection is None:
with self.wrap_database_errors:
self.connect()...
##### Backend-specific wrappers for PEP-249 connection methods #####
def _cursor(self):
self.ensure_connection()
with self.wrap_database_errors:
Variable | Value |
---|---|
self | <sqlserver_ado.base.DatabaseWrapper object at 0x0212DFB0> |
C:\Python27\lib\site-packages\django\db\utils.py
in __exit__
if issubclass(exc_type, db_exc_type):
dj_exc_value = dj_exc_type(*exc_value.args)
dj_exc_value.__cause__ = exc_value
# Only set the 'errors_occurred' flag for errors that may make
# the connection unusable.
if dj_exc_type not in (DataError, IntegrityError):
self.wrapper.errors_occurred = True
six.reraise(dj_exc_type, dj_exc_value, traceback)...
def __call__(self, func):
# Note that we are intentionally not using @wraps here for performance
# reasons. Refs #21109.
def inner(*args, **kwargs):
with self:
Variable | Value |
---|---|
self | <django.db.utils.DatabaseErrorWrapper object at 0x02952610> |
traceback | <traceback object at 0x02A038F0> |
exc_value | OperationalError(com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
dj_exc_type | <class 'django.db.utils.OperationalError'> |
dj_exc_value | OperationalError(com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None), u'Error opening connection: DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=******;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True') |
exc_type | <class 'sqlserver_ado.dbapi.OperationalError'> |
db_exc_type | <class 'sqlserver_ado.dbapi.OperationalError'> |
C:\Python27\lib\site-packages\django\db\backends\__init__.py
in ensure_connection
def ensure_connection(self):
"""
Guarantees that a connection to the database is established.
"""
if self.connection is None:
with self.wrap_database_errors:
self.connect()...
##### Backend-specific wrappers for PEP-249 connection methods #####
def _cursor(self):
self.ensure_connection()
with self.wrap_database_errors:
Variable | Value |
---|---|
self | <sqlserver_ado.base.DatabaseWrapper object at 0x0212DFB0> |
C:\Python27\lib\site-packages\django\db\backends\__init__.py
in connect
# Reset parameters defining when to close the connection
max_age = self.settings_dict['CONN_MAX_AGE']
self.close_at = None if max_age is None else time.time() + max_age
self.closed_in_transaction = False
self.errors_occurred = False
# Establish the connection
conn_params = self.get_connection_params()
self.connection = self.get_new_connection(conn_params)...
self.set_autocommit(self.settings_dict['AUTOCOMMIT'])
self.init_connection_state()
connection_created.send(sender=self.__class__, connection=self)
def ensure_connection(self):
"""
Variable | Value |
---|---|
conn_params | {u'connection_string': u'DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=futurama1!;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True', u'timeout': 30, u'use_transactions': True} |
max_age | 0 |
self | <sqlserver_ado.base.DatabaseWrapper object at 0x0212DFB0> |
C:\Python27\lib\site-packages\sqlserver_ado\base.py
in get_new_connection
'timeout': self.command_timeout,
'use_transactions': not autocommit,
}
def get_new_connection(self, conn_params):
"""Opens a connection to the database."""
self.__connection_string = conn_params.get('connection_string', '')
conn = Database.connect(**conn_params)...
return conn
def init_connection_state(self):
"""Initializes the database connection settings."""
# if 'mars connection=true' in self.__connection_string.lower():
# # Issue #41 - Cannot use MARS with savepoints
Variable | Value |
---|---|
conn_params | {u'connection_string': u'DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=futurama1!;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True', u'timeout': 30, u'use_transactions': True} |
self | <sqlserver_ado.base.DatabaseWrapper object at 0x0212DFB0> |
C:\Python27\lib\site-packages\sqlserver_ado\dbapi.py
in connect
useTransactions = _use_transactions(c)
else:
useTransactions = use_transactions
return Connection(c, useTransactions)
except Exception as e:
raise OperationalError(e,
"Error opening connection: {0}".format(
mask_connection_string_password(connection_string)...
)
)
def _use_transactions(c):
"""Return True if the given ADODB.Connection supports transactions."""
Variable | Value |
---|---|
c | <COMObject ADODB.Connection> |
e | com_error(-2147352567, 'Exception occurred.', (0, u'Microsoft SQL Server Native Client 10.0', u"Login failed for user 'usercambiemos'. Reason: The password of the account has expired.", None, 0, -2147467259), None) |
win32com | <module 'win32com' from 'C:\Python27\lib\site-packages\pywin32-219-py2.7-win32.egg\win32com\__init__.pyc'> |
timeout | 30 |
pythoncom | <module 'pythoncom' from 'C:\Python27\lib\site-packages\pywin32-219-py2.7-win32.egg\pythoncom27.dll'> |
connection_string | u'DATA SOURCE=MTC-DVDBSQL01;Initial Catalog=DB_CAMBIEMOS2;UID=usercambiemos;PWD=futurama1!;PROVIDER=sqlncli10;DataTypeCompatibility=80;MARS Connection=True' |
use_transactions | True |
Variable | Value |
---|---|
page | u'9' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
AUTH_TYPE | '' |
wfastcgi.http_x_original_url | '/cambiemosdeactitud/?page=9' |
wsgi.multiprocess | True |
HTTPS_SERVER_ISSUER | '' |
HTTP_MAX_FORWARDS | '10' |
HTTPS_KEYSIZE | '' |
wsgi.multithread | False |
SERVER_SOFTWARE | 'Microsoft-IIS/7.5' |
SCRIPT_NAME | u'' |
LOCAL_ADDR | '192.168.251.84' |
QUERY_STRING | 'page=9' |
REQUEST_METHOD | 'GET' |
REMOTE_USER | '' |
PATH_INFO | u'/cambiemosdeactitud/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
CERT_COOKIE | '' |
wsgi.query_string | 'page=9' |
AUTH_PASSWORD | '' |
CONTENT_LENGTH | '0' |
IIS_UrlRewriteModule | '7.1.1952.0' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'Keep-Alive' |
SERVER_NAME | 'portaldesa.mtc.gob.pe' |
REMOTE_ADDR | '172.20.1.38' |
APPL_MD_PATH | '/LM/W3SVC/2/ROOT' |
INSTANCE_ID | '2' |
URL | '/cambiemosdeactitud/' |
APP_POOL_ID | 'PORTAL' |
SERVER_PORT | '80' |
APPL_PHYSICAL_PATH | 'D:\\nuevoportal\\nuevo\\' |
REQUEST_URI | '/cambiemosdeactitud/?page=9' |
CERT_SERIALNUMBER | '' |
CERT_FLAGS | '' |
HTTPS_SERVER_SUBJECT | '' |
wsgi.script_name | '' |
HTTP_X_ORIGINAL_URL | '/cambiemosdeactitud/?page=9' |
SCRIPT_FILENAME | 'C:\\inetpub\\wwwroot\\cambiemosdeactitud\\' |
HTTPS_SECRETKEYSIZE | '' |
wsgi.path_info | '/cambiemosdeactitud/' |
wsgi.input | <cStringIO.StringI object at 0x00ED73C8> |
HTTP_X_ARR_LOG_ID | 'd8650cd5-5638-4e62-8411-2d2df667217a' |
HTTP_HOST | 'portaldesa.mtc.gob.pe' |
wsgi.run_once | False |
HTTPS | 'off' |
SERVER_PORT_SECURE | '0' |
CERT_SUBJECT | '' |
CERT_ISSUER | '' |
HTTP_ACCEPT | '*/*' |
PATH_TRANSLATED | 'C:\\inetpub\\wwwroot\\cambiemosdeactitud\\' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
APP_POOL_CONFIG | 'C:\\inetpub\\temp\\apppools\\PORTAL\\PORTAL.config' |
wsgi.errors | <cStringIO.StringO object at 0x00F032A0> |
REMOTE_PORT | '53066' |
LOGON_USER | '' |
INSTANCE_NAME | 'DESARROLLO DEL PORTAL DEL MTC' |
HTTP_X_FORWARDED_FOR | '44.222.116.199:47724' |
CONTENT_TYPE | '' |
INSTANCE_META_PATH | '/LM/W3SVC/2' |
AUTH_USER | '' |
DOCUMENT_ROOT | 'D:\\nuevoportal\\nuevo' |
REMOTE_HOST | '172.20.1.38' |
wsgi.url_scheme | 'http' |
project.settings_iis
Setting | Value |
---|---|
CLOSE_TIME | '2016-01-15 14:56:00' |
USE_L10N | True |
TIME_ZONE | 'America/Lima' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'es' |
ROOT_URLCONF | 'project.urls' |
MANAGERS | () |
YOUTUBE_DEVELOPER_KEY | u'********************' |
BASE_DIR | 'C:\\inetpub\\wwwroot\\cambiemosdeactitud' |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
THUMBS_SIZES | ((232, 158), (250, 250)) |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | 'C:\\inetpub\\wwwroot\\cambiemosdeactitud\\static' |
USE_THOUSAND_SEPARATOR | False |
CONTENT_TYPES | ['image', 'video'] |
ALLOWED_HOSTS | ['*'] |
YOUTUBE_DELETE_REDIRECT_URL | '/cambiemosdeactitud/participantes-rechazados/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
RANDOM_EXPERIENCES | 5 |
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': 'sqlserver_ado', 'HOST': 'MTC-DVDBSQL01', 'NAME': 'DB_CAMBIEMOS2', 'OPTIONS': {u'provider': u'sqlncli10'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'usercambiemos'}} |
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'}} |
YOUTUBE_AUTH_EMAIL | 'mtc.videos.oti@gmail.com' |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
SILENCED_SYSTEM_CHECKS | [] |
CMS_TEMPLATES | (('template_1.html', 'Template One'), ('template_2.html', 'Template Two')) |
MIDDLEWARE_CLASSES | ('concursantes.middleware.ForceResponseMiddleware', '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', 'django.middleware.locale.LocaleMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware', 'secretballot.middleware.SecretBallotIpUseragentMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | None |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
YOUTUBE_CLIENT_ID | '48208333156-9atp9r7a599d4kks4dsmgih3bkvhuork.apps.googleusercontent.com' |
WSGI_APPLICATION | 'project.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' |
SENDER_NAME | u'Cambiemos de Actitud' |
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.auth', 'django.contrib.admin', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'cms', 'treebeard', 'menus', 'sekizai', 'djangocms_admin_style', 'django.contrib.messages', 'reversion', 'concursantes', 'secretballot', 'widget_tweaks', 'django_youtube') |
LANGUAGES | [('es', 'Spanish')] |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | ('C:\\inetpub\\wwwroot\\cambiemosdeactitud\\local_static',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
FACEBOOK_APP_ID | '832024756911136' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | () |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
MAX_DURATION_MINUTES | 1 |
YOUTUBE_AUTH_PASSWORD | u'********************' |
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/' |
SENDER_EMAIL | 'cambiemosdeactitud@mtc.gob.pe' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('C:\\inetpub\\wwwroot\\cambiemosdeactitud\\templates',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'Y-m-d' |
MEDIA_ROOT | 'C:\\inetpub\\wwwroot\\cambiemosdeactitud\\media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'Y-m-d H:i:sO' |
MAX_UPLOAD_SIZE | 5242880 |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}, 'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}}, 'formatters': {'simple': {'datefmt': '%Y/%m/%d %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s %(message)s'}, 'verbose': {'datefmt': '%Y/%m/%d %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s [%(name)s.%(funcName)s.%(lineno)d] %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'filters': ['require_debug_true'], 'formatter': 'simple', 'level': 'DEBUG'}, 'development_log': {'class': 'logging.FileHandler', 'filename': 'C:\\inetpub\\wwwroot\\cambiemosdeactitud\\logs/development.log', 'filters': ['require_debug_true'], 'formatter': 'verbose', 'level': 'DEBUG'}, 'production_log': {'class': 'logging.FileHandler', 'filename': 'C:\\inetpub\\wwwroot\\cambiemosdeactitud\\logs/production.log', 'filters': ['require_debug_false'], 'formatter': 'simple', 'level': 'ERROR'}}, 'loggers': {'django': {'handlers': ['console', 'development_log', 'production_log']}, 'py.warnings': {'handlers': ['console', 'development_log']}, 'uploader': {'handlers': ['console', 'development_log', 'production_log']}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
YOUTUBE_UPLOAD_REDIRECT_URL | '/cambiemosdeactitud/participantes-aceptados/' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SMTP_SERVER | 'correo.mtc.gob.pe' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
SENDER_PASSWORD | u'********************' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static', 'sekizai.context_processors.sekizai', 'cms.context_processors.cms_settings', 'django.core.context_processors.csrf', 'concursantes.context_processors.facebook_id_processor') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'project.settings_iis' |
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.