Could not import django.views.generic.simple.redirect_to. Parent module django.views.generic.simple does not exist.
Request Method: | GET |
---|---|
Request URL: | http://betonskozeljezo.com/armiracnica-armaturnih-profila |
Django Version: | 1.7.4 |
Exception Type: | ViewDoesNotExist |
Exception Value: | Could not import django.views.generic.simple.redirect_to. Parent module django.views.generic.simple does not exist. |
Exception Location: | /home/betonsko/env/lib/python2.7/site-packages/django/core/urlresolvers.py in get_callable, line 104 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/home/betonsko/env/betonsko', '/home/betonsko/env/lib/python2.7/site-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] |
Server time: | Sri, 10 Kol. 2022 12:57:44 +0200 |
/home/betonsko/env/lib/python2.7/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 CommonMiddleware.process_request of <django.middleware.common.CommonMiddleware object at 0x7f190f288950>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f190fa9e350> |
request | "<WSGIRequest\npath:/armiracnica-armaturnih-profila,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/home/betonsko/public_html',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/home/betonsko/public_html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',\n 'HTTP_ACCEPT_ENCODING': 'gzip, identity;q=0.9',\n 'HTTP_ACCEPT_LANGUAGE': 'en, *',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'betonskozeljezo.com',\n 'HTTP_REFERER': 'http://betonskozeljezo.com/',\n 'HTTP_USER_AGENT': 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',\n 'PATH_INFO': u'/armiracnica-armaturnih-profila',\n 'PATH_TRANSLATED': '/home/betonsko/env/betonsko/betonsko/wsgi.py/armiracnica-armaturnih-profila',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '185.254.253.234',\n 'REMOTE_PORT': '51555',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/armiracnica-armaturnih-profila',\n 'SCRIPT_FILENAME': '/home/betonsko/env/betonsko/betonsko/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'http://betonskozeljezo.com/armiracnica-armaturnih-profila',\n 'SCRIPT_URL': '/armiracnica-armaturnih-profila',\n 'SERVER_ADDR': '66.206.38.114',\n 'SERVER_ADMIN': '[no address given]',\n 'SERVER_NAME': 'betonskozeljezo.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.7',\n 'mod_wsgi.application_group': '',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'betonsko',\n 'mod_wsgi.queue_start': '1660129064564296',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f190f199370>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f190f1e8d50>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f190f1999f0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
resolver | <RegexURLResolver 'betonsko.urls' (None:None) ^/> |
response | None |
urlconf | 'betonsko.urls' |
/home/betonsko/env/lib/python2.7/site-packages/django/middleware/common.py
in process_request
new_url[0] = 'www.' + old_url[0]
# Append a slash if APPEND_SLASH is set and the URL doesn't have a
# trailing slash and there is no pattern for the current path
if settings.APPEND_SLASH and (not old_url[1].endswith('/')):
urlconf = getattr(request, 'urlconf', None)
if (not urlresolvers.is_valid_path(request.path_info, urlconf) and
urlresolvers.is_valid_path("%s/" % request.path_info, urlconf)):...
new_url[1] = new_url[1] + '/'
if settings.DEBUG and request.method == 'POST':
raise RuntimeError((""
"You called this URL via POST, but the URL doesn't end "
"in a slash and you have APPEND_SLASH set. Django can't "
"redirect to the slash URL while maintaining POST data. "
Variable | Value |
---|---|
self | <django.middleware.common.CommonMiddleware object at 0x7f190f288950> |
new_url | ['betonskozeljezo.com', u'/armiracnica-armaturnih-profila'] |
request | "<WSGIRequest\npath:/armiracnica-armaturnih-profila,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/home/betonsko/public_html',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/home/betonsko/public_html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',\n 'HTTP_ACCEPT_ENCODING': 'gzip, identity;q=0.9',\n 'HTTP_ACCEPT_LANGUAGE': 'en, *',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'betonskozeljezo.com',\n 'HTTP_REFERER': 'http://betonskozeljezo.com/',\n 'HTTP_USER_AGENT': 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',\n 'PATH_INFO': u'/armiracnica-armaturnih-profila',\n 'PATH_TRANSLATED': '/home/betonsko/env/betonsko/betonsko/wsgi.py/armiracnica-armaturnih-profila',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '185.254.253.234',\n 'REMOTE_PORT': '51555',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/armiracnica-armaturnih-profila',\n 'SCRIPT_FILENAME': '/home/betonsko/env/betonsko/betonsko/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'http://betonskozeljezo.com/armiracnica-armaturnih-profila',\n 'SCRIPT_URL': '/armiracnica-armaturnih-profila',\n 'SERVER_ADDR': '66.206.38.114',\n 'SERVER_ADMIN': '[no address given]',\n 'SERVER_NAME': 'betonskozeljezo.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.7',\n 'mod_wsgi.application_group': '',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'betonsko',\n 'mod_wsgi.queue_start': '1660129064564296',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f190f199370>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f190f1e8d50>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f190f1999f0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
host | 'betonskozeljezo.com' |
old_url | ['betonskozeljezo.com', u'/armiracnica-armaturnih-profila'] |
urlconf | None |
/home/betonsko/env/lib/python2.7/site-packages/django/core/urlresolvers.py
in is_valid_path
Returns True if the given path resolves against the default URL resolver,
False otherwise.
This is a convenience method to make working with "is this a match?" cases
easier, avoiding unnecessarily indented try...except blocks.
"""
try:
resolve(path, urlconf)...
return True
except Resolver404:
return False
Variable | Value |
---|---|
path | u'/armiracnica-armaturnih-profila/' |
urlconf | None |
/home/betonsko/env/lib/python2.7/site-packages/django/core/urlresolvers.py
in resolve
self._regex_dict[language_code] = regex_compiled
return self._regex_dict[language_code]
def resolve(path, urlconf=None):
if urlconf is None:
urlconf = get_urlconf()
return get_resolver(urlconf).resolve(path)...
def reverse(viewname, urlconf=None, args=None, kwargs=None, prefix=None, current_app=None):
if urlconf is None:
urlconf = get_urlconf()
resolver = get_resolver(urlconf)
Variable | Value |
---|---|
path | u'/armiracnica-armaturnih-profila/' |
urlconf | 'betonsko.urls' |
/home/betonsko/env/lib/python2.7/site-packages/django/core/urlresolvers.py
in resolve
path = force_text(path) # path may be a reverse_lazy object
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 as e:
sub_tried = e.args[0].get('tried')
if sub_tried is not None:
tried.extend([pattern] + t for t in sub_tried)
else:
tried.append([pattern])
Variable | Value |
---|---|
new_path | u'armiracnica-armaturnih-profila/' |
tried | [[<RegexURLPattern None ^()$>], [<RegexURLPattern None ^(o_nama/)$>], [<RegexURLPattern None ^(proizvodi-od-zeljeza/)$>]] |
sub_match | None |
self | <RegexURLResolver 'betonsko.urls' (None:None) ^/> |
pattern | <RegexURLPattern None ^armiracnica-armaturnih-profila/$> |
path | u'/armiracnica-armaturnih-profila/' |
match | <_sre.SRE_Match object at 0x7f190f1ddac0> |
/home/betonsko/env/lib/python2.7/site-packages/django/core/urlresolvers.py
in resolve
if kwargs:
args = ()
else:
args = match.groups()
# In both cases, pass any extra_kwargs as **kwargs.
kwargs.update(self.default_args)
return ResolverMatch(self.callback, args, kwargs, self.name)...
@property
def callback(self):
if self._callback is not None:
return self._callback
Variable | Value |
---|---|
path | u'armiracnica-armaturnih-profila/' |
self | <RegexURLPattern None ^armiracnica-armaturnih-profila/$> |
args | () |
match | <_sre.SRE_Match object at 0x7f190f1ddb28> |
kwargs | {'url': '/kompjuterska-izrada-betonske-armature/'} |
/home/betonsko/env/lib/python2.7/site-packages/django/core/urlresolvers.py
in callback
return ResolverMatch(self.callback, args, kwargs, self.name)
@property
def callback(self):
if self._callback is not None:
return self._callback
self._callback = get_callable(self._callback_str)...
return self._callback
class RegexURLResolver(LocaleRegexProvider):
def __init__(self, regex, urlconf_name, default_kwargs=None, app_name=None, namespace=None):
LocaleRegexProvider.__init__(self, regex)
Variable | Value |
---|---|
self | <RegexURLPattern None ^armiracnica-armaturnih-profila/$> |
/home/betonsko/env/lib/python2.7/site-packages/django/utils/lru_cache.py
in wrapper
def wrapper(*args, **kwds):
# simple caching without ordering or size limit
key = make_key(args, kwds, typed)
result = cache_get(key, root) # root used here as a unique not-found sentinel
if result is not root:
stats[HITS] += 1
return result
result = user_function(*args, **kwds)...
cache[key] = result
stats[MISSES] += 1
return result
else:
Variable | Value |
---|---|
HITS | 0 |
args | ('django.views.generic.simple.redirect_to',) |
stats | [2, 1] |
kwds | {} |
typed | False |
cache | {'django.views.csrf.csrf_failure': <function csrf_failure at 0x7f190f1e8c08>} |
MISSES | 1 |
result | [<Recursion on list with id=139745611565104>, <Recursion on list with id=139745611565104>, None, None] |
key | 'django.views.generic.simple.redirect_to' |
user_function | <function get_callable at 0x7f190f8a8320> |
make_key | <function _make_key at 0x7f190fac6c08> |
root | [<Recursion on list with id=139745611565104>, <Recursion on list with id=139745611565104>, None, None] |
cache_get | <built-in method get of dict object at 0x7f190f8a77f8> |
/home/betonsko/env/lib/python2.7/site-packages/django/core/urlresolvers.py
in get_callable
mod = import_module(mod_name)
except ImportError:
parentmod, submod = get_mod_func(mod_name)
if (not can_fail and submod != '' and
not module_has_submodule(import_module(parentmod), submod)):
raise ViewDoesNotExist(
"Could not import %s. Parent module %s does not exist." %
(lookup_view, mod_name))...
if not can_fail:
raise
else:
try:
lookup_view = getattr(mod, func_name)
if not callable(lookup_view):
Variable | Value |
---|---|
func_name | 'redirect_to' |
lookup_view | 'django.views.generic.simple.redirect_to' |
submod | 'simple' |
parentmod | 'django.views.generic' |
mod_name | 'django.views.generic.simple' |
can_fail | False |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
HTTP_REFERER | 'http://betonskozeljezo.com/' |
mod_wsgi.listener_host | '' |
CONTEXT_DOCUMENT_ROOT | '/home/betonsko/public_html' |
SERVER_SOFTWARE | 'Apache/2.4.7' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/armiracnica-armaturnih-profila' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)' |
HTTP_CONNECTION | 'keep-alive' |
SERVER_NAME | 'betonskozeljezo.com' |
REMOTE_ADDR | '185.254.253.234' |
mod_wsgi.queue_start | '1660129064564296' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.version | (3, 4) |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/home/betonsko/env/betonsko/betonsko/wsgi.py/armiracnica-armaturnih-profila' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '66.206.38.114' |
DOCUMENT_ROOT | '/home/betonsko/public_html' |
mod_wsgi.process_group | 'betonsko' |
SCRIPT_FILENAME | '/home/betonsko/env/betonsko/betonsko/wsgi.py' |
SERVER_ADMIN | '[no address given]' |
SCRIPT_URI | 'http://betonskozeljezo.com/armiracnica-armaturnih-profila' |
wsgi.input | <mod_wsgi.Input object at 0x7f190f1999f0> |
HTTP_HOST | 'betonskozeljezo.com' |
SCRIPT_URL | '/armiracnica-armaturnih-profila' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/armiracnica-armaturnih-profila' |
HTTP_ACCEPT | 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f190f199370> |
REMOTE_PORT | '51555' |
HTTP_ACCEPT_LANGUAGE | 'en, *' |
REQUEST_SCHEME | 'http' |
CONTEXT_PREFIX | '' |
mod_wsgi.application_group | '' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
HTTP_ACCEPT_ENCODING | 'gzip, identity;q=0.9' |
betonsko.settings
Setting | Value |
---|---|
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'hr-HR' |
ROOT_URLCONF | 'betonsko.urls' |
MANAGERS | () |
BASE_DIR | '/home/betonsko/env/betonsko' |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/betonsko/public_html/static/' |
ALLOWED_HOSTS | ['www.armaturnozeljezo.com', 'armaturnozeljezo.com'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/betonsko/env/betonsko/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': ''}} |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | () |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
SILENCED_SYSTEM_CHECKS | [] |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'betonsko.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | () |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/betonsko/env/betonsko/betonsko/templates',) |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Zagreb' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'betonsko.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | 'info@armaturnozeljezo.com' |
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.