NoReverseMatch at /directorio/anunciante/ciudad-juarez/medicina/clinicas-y-consultorios-dentales/americas-dentistry-center/1512

Reverse for 'articulo' with arguments '(u'alitas-en-ciudad-juarez-chihuahua',)' and keyword arguments '{}' not found.
Request Method: GET
Request URL: http://resultadoslocales.com/directorio/anunciante/ciudad-juarez/medicina/clinicas-y-consultorios-dentales/americas-dentistry-center/1512
Django Version: 1.5
Exception Type: NoReverseMatch
Exception Value:
Reverse for 'articulo' with arguments '(u'alitas-en-ciudad-juarez-chihuahua',)' and keyword arguments '{}' not found.
Exception Location: /home/todolocal/Env/todolocal/local/lib/python2.7/site-packages/django/template/defaulttags.py in render, line 424
Python Executable: /home/todolocal/Env/todolocal/bin/python
Python Version: 2.7.15
Python Path:
['/home/todolocal/app',
 '/home/todolocal/Env/todolocal/bin',
 '/home/todolocal/Env/todolocal/lib/python2.7',
 '/home/todolocal/Env/todolocal/lib/python2.7/plat-x86_64-linux-gnu',
 '/home/todolocal/Env/todolocal/lib/python2.7/lib-tk',
 '/home/todolocal/Env/todolocal/lib/python2.7/lib-old',
 '/home/todolocal/Env/todolocal/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/home/todolocal/Env/todolocal/local/lib/python2.7/site-packages',
 '/home/todolocal/Env/todolocal/src/django-nested-inlines',
 '/home/todolocal/Env/todolocal/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info',
 '/home/todolocal/Env/todolocal/lib/python2.7/site-packages',
 '/home/todolocal/Env/todolocal/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']
Server time: Thu, 28 Mar 2024 14:00:55 -0700

Error during template rendering

In template /home/todolocal/app/templates/directorio/anunciante_gratuito.html, error at line 65

Reverse for 'articulo' with arguments '(u'alitas-en-ciudad-juarez-chihuahua',)' and keyword arguments '{}' not found.

55 {% endfor %}
56 </ul>
57 {% if categorias.count > 10 %}
58 <button id="mas-categorias" class="mas-clas" data-mostrar='mas'>Mostrar mas</button>
59 {% endif %}
60
61 <h3 class="post">Últimos Post</h3>
62 <ul class="post-recientes">
63 {% for articulo in ultimos_articulos %}
64 <li>
65 <a href="{% url "blog:articulo" articulo.slug %}">{{articulo.nombre}}</a>
66 <span class="fecha-publicado">{{articulo.fecha}}</span>
67 </li>
68 {% endfor %}
69 </ul>
70 <div class="banner-col">
71 {% for banner in banners_chicos %}
72 <a href="{{banner.link}}" target="_blank"><img width="180" class="banner-chico" src="{{banner.banner.url}}" alt=""></a>
73 {% endfor %}
74 </div>
75 </div>

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
HTTP_CF_IPCOUNTRY
'US'
SERVER_SOFTWARE
'gunicorn/19.9.0'
SCRIPT_NAME
u''
REQUEST_METHOD
'GET'
PATH_INFO
u'/directorio/anunciante/ciudad-juarez/medicina/clinicas-y-consultorios-dentales/americas-dentistry-center/1512'
SERVER_PROTOCOL
'HTTP/1.0'
QUERY_STRING
''
HTTP_CF_RAY
'86ba8d6b78001765-EWR'
HTTP_X_REAL_IP
'162.158.63.49'
HTTP_USER_AGENT
'claudebot'
HTTP_CONNECTION
'close'
SERVER_NAME
'resultadoslocales.com'
REMOTE_ADDR
''
wsgi.url_scheme
'http'
SERVER_PORT
'80'
HTTP_CF_VISITOR
'{"scheme":"http"}'
HTTP_X_FORWARDED_PROTO
'http'
HTTP_CDN_LOOP
'cloudflare'
wsgi.input
<gunicorn.http.body.Body object at 0x7f804cc436d0>
HTTP_HOST
'resultadoslocales.com'
wsgi.multithread
False
HTTP_CF_CONNECTING_IP
'44.200.230.43'
HTTP_ACCEPT
'*/*'
wsgi.version
(1, 0)
RAW_URI
'/directorio/anunciante/ciudad-juarez/medicina/clinicas-y-consultorios-dentales/americas-dentistry-center/1512'
wsgi.run_once
False
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f804d7ee310>
wsgi.multiprocess
True
gunicorn.socket
<socket object, fd=9, family=1, type=1, protocol=0>
HTTP_X_FORWARDED_FOR
'44.200.230.43, 162.158.63.49'
wsgi.file_wrapper
''
CSRF_COOKIE
u'CcZWyezKq3UznhvprZXqyTvFCqWOlKyD'
HTTP_ACCEPT_ENCODING
'gzip'

Settings

Using settings module todolocal.settings

Setting Value
YEAR_MONTH_FORMAT
'F Y'
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'es-mx'
ROOT_URLCONF
'todolocal.urls'
MANAGERS
()
DEFAULT_CHARSET
'utf-8'
STATIC_ROOT
''
CKEDITOR_UPLOAD_PATH
'uploads/'
RUTA_PROYECTO
Path('/home/todolocal/app')
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',
 'django.contrib.staticfiles.finders.DefaultStorageFinder')
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
DATABASES
{'default': {'ENGINE': 'django.db.backends.mysql',
             'HOST': '',
             'NAME': 'todolocal',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': '',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'UTC',
             'USER': 'todolocal'}}
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
[]
GEOPOSITION_MAP_OPTIONS
{'center': {'lat': 31.68727615791284, 'lng': -106.42593383789062}, 'zoom': 16}
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
DOMAIN
'http://www.resultadoslocales.com'
SERVER_EMAIL
'[email protected]'
SESSION_COOKIE_PATH
'/'
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
LANGUAGE_COOKIE_NAME
'django_language'
FACEBOOK_EXTENDED_PERMISSIONS
['email']
FILE_UPLOAD_TEMP_DIR
None
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
WSGI_APPLICATION
'todolocal.wsgi.application'
TEMPLATE_DEBUG
True
X_FRAME_OPTIONS
'SAMEORIGIN'
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',
 'social_auth.backends.facebook.FacebookBackend')
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
SESSION_FILE_PATH
None
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.sitemaps',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'apps.blog',
 'apps.directorio',
 'apps.banners',
 'apps.usuarios',
 'apps.sistema_encuestas',
 'apps.planes',
 'nested_inlines',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'south',
 'geoposition',
 'django_wysiwyg',
 'ckeditor',
 'import_export',
 'embed_video',
 'social_auth')
LANGUAGES
(('af', 'Afrikaans'),
 ('ar', 'Arabic'),
 ('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-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-nl', 'Frisian'),
 ('ga', 'Irish'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hu', 'Hungarian'),
 ('ia', 'Interlingua'),
 ('id', 'Indonesian'),
 ('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'),
 ('nb', 'Norwegian Bokmal'),
 ('ne', 'Nepali'),
 ('nl', 'Dutch'),
 ('nn', 'Norwegian Nynorsk'),
 ('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-tw', 'Traditional Chinese'))
COMMENTS_ALLOW_PROFANITIES
False
STATICFILES_DIRS
(Path('/home/todolocal/app/static'),)
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
SESSION_COOKIE_HTTPONLY
True
FACEBOOK_APP_ID
'1443815405866448'
DEBUG_PROPAGATE_EXCEPTIONS
False
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
DJANGO_WYSIWYG_FLAVOR
'ckeditor'
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')
CSRF_COOKIE_NAME
'csrftoken'
EMAIL_HOST_PASSWORD
u'********************'
DEBUG_TOOLBAR_PATCH_SETTINGS
False
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
CACHE_MIDDLEWARE_ALIAS
'default'
ROOT_PATH
'/home/todolocal/app/todolocal'
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/'
SOCIAL_AUTH_PIPELINE
('social_auth.backends.pipeline.social.social_auth_user',
 'social_auth.backends.pipeline.user.get_username',
 'social_auth.backends.pipeline.user.create_user',
 'social_auth.backends.pipeline.social.associate_user',
 'social_auth.backends.pipeline.social.load_extra_data',
 'social_auth.backends.pipeline.user.update_user_details')
DECIMAL_SEPARATOR
'.'
IGNORABLE_404_URLS
()
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
FIXTURE_DIRS
()
EMAIL_HOST
'smtp.webfaction.com'
DATE_FORMAT
'N j, Y'
FACEBOOK_API_SECRET
u'********************'
MEDIA_ROOT
Path('/home/todolocal/app/static/media')
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'[email protected]'
MEDIA_URL
'/media/'
DATETIME_FORMAT
'N j, Y, P'
TEMPLATE_DIRS
('templates/',
 '/home/fau/.virtualenvs/todolocal/django/contrib/admin/templates',
 '/home/todolocal/Env/todolocal/django/contrib/admin/templates')
SOCIAL_AUTH_LOGIN_REDIRECT_URL
'www.resultadoslocales.com/'
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
LOGGING
{'disable_existing_loggers': False,
 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'filters': ['require_debug_false'],
                              'level': 'ERROR'}},
 'loggers': {'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}
SHORT_DATE_FORMAT
'm/d/Y'
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
TIME_ZONE
'America/Chihuahua'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
GEOPOSITION_MARKER_OPTIONS
{'position': {'lat': 31.68727615791284, 'lng': -106.42593383789062}}
DEFAULT_TABLESPACE
''
TEMPLATE_CONTEXT_PROCESSORS
('apps.blog.context_processors.menu_categorias',
 'apps.banners.context_processors.banners_laterales',
 'apps.banners.context_processors.banners_chicos',
 'apps.banners.context_processors.banners_blog',
 'apps.directorio.context_processors.ciudades',
 'apps.directorio.context_processors.imagenesDefault',
 'django.contrib.auth.context_processors.auth',
 'django.core.context_processors.debug',
 'django.core.context_processors.request',
 'django.core.context_processors.i18n',
 'django.core.context_processors.media',
 'social_auth.context_processors.social_auth_by_name_backends',
 'social_auth.context_processors.social_auth_backends',
 'social_auth.context_processors.social_auth_by_type_backends',
 'social_auth.context_processors.social_auth_login_redirect')
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'todolocal.settings'
USE_ETAGS
False
SITE_ROOT
'/home/todolocal/app/todolocal'
LANGUAGES_BIDI
('he', 'ar', 'fa')
DEFAULT_INDEX_TABLESPACE
''
INTERNAL_IPS
()
STATIC_URL
'/static/'
EMAIL_PORT
25
USE_TZ
True
SHORT_DATETIME_FORMAT
'm/d/Y P'
PASSWORD_HASHERS
u'********************'
ABSOLUTE_URL_OVERRIDES
{}
CACHE_MIDDLEWARE_SECONDS
600
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
'info_resultados_locales'
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.