AttributeError at /news/helth/2020/05/03/305509/

'NoneType' object has no attribute 'get_absolute_url'
Request Method: GET
Request URL: https://nn.najah.edu/news/helth/2020/05/03/305509/
Django Version: 2.1.5
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'get_absolute_url'
Exception Location: /var/www/nn/src/weblog/templatetags/weblog_tags.py in _add_link, line 972
Python Executable: /home/nn/.virtualenvs/nn/bin/python3
Python Version: 3.6.7
Python Path:
['/var/www/nn/src',
 '/var/www/nn/src',
 '/home/nn/.virtualenvs/nn/bin',
 '/home/nn/django-ads',
 '/home/nn/.virtualenvs/nn/bin/python',
 '/home/nn/.virtualenvs/nn/lib/python36.zip',
 '/home/nn/.virtualenvs/nn/lib/python3.6',
 '/home/nn/.virtualenvs/nn/lib/python3.6/lib-dynload',
 '/usr/lib/python3.6',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages/odf',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages/odf',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages/odf',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages/odf',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages/odf',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages/odf',
 '/home/nn/.virtualenvs/nn/lib/python3.6/site-packages/odf']
Server time: ثلاثاء, 19 مارس 2024 07:28:03 +0200

Error during template rendering

In template /var/www/nn/src/weblog/templates/weblog/post/includes/post_content.html, error at line 10

'NoneType' object has no attribute 'get_absolute_url'

1 {% load i18n static social_share comments sekizai_tags hitcount_tags crispy_forms_tags weblog_tags polls_tags ads_tags %}
2 <div class="content-body">
3 {% if post.lead %}
4 <div class="content-sub-title py-3">{{ post.lead|linebreaks }}</div>
5 {% endif %}
6 <div class="my-3">
7 {% render_ads_zone '(9) content_top' %}
8 </div>
9 <div itemprop="articleBody" class="content post-content">
10 {{ post.content|colorize_nn|add_weblog_name_to_html|archive_links|add_co_authors_to_content:post.co_authors.all|add_authors_to_content:post.authors.all|add_source_to_html:post.source|safe }}
11 </div>
12 <div class="my-3">
13 {% render_ads_zone '(10) content_below' %}
14 </div>
15 </div>
16 <dl>
17 <dt>{% trans 'Short URL' %}</dt>
18 {% if post.publisher_is_draft %}
19 <dd class="text-danger">{% trans 'Please switch to live version to get the short URL.' %}</dd>
20 {% else %}

Traceback Switch to copy-and-paste view



Request information

USER

AnonymousUser

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
CSRF_COOKIE
'oEEUzwaRl19zARlKBu5KEzOvNAnffMie54WN54d70yIs1CPNPmdtWE6vLj0YvKbm'
CSRF_COOKIE_USED
True
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, br'
HTTP_CDN_LOOP
'cloudflare'
HTTP_CF_CONNECTING_IP
'3.95.233.107'
HTTP_CF_IPCOUNTRY
'US'
HTTP_CF_RAY
'866b0e85d8343ade-IAD'
HTTP_CF_VISITOR
'{"scheme":"https"}'
HTTP_CONNECTION
'close'
HTTP_HOST
'nn.najah.edu'
HTTP_REFERER
'https://nn.najah.edu/6JQD/'
HTTP_USER_AGENT
'claudebot'
HTTP_X_FORWARDED_FOR
'3.95.233.107, 172.70.42.208'
HTTP_X_FORWARDED_PROTO
'https'
HTTP_X_REAL_IP
'172.70.42.208'
PATH_INFO
'/news/helth/2020/05/03/305509/'
QUERY_STRING
''
RAW_URI
'/news/helth/2020/05/03/305509/'
REMOTE_ADDR
''
REQUEST_METHOD
'GET'
SCRIPT_NAME
''
SERVER_NAME
'nn.najah.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.0'
SERVER_SOFTWARE
'gunicorn/19.9.0'
gunicorn.socket
<gevent._socket3.socket object, fd=17, family=1, type=2049, proto=0>
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9dea732a20>
wsgi.file_wrapper
''
wsgi.input
<gunicorn.http.body.Body object at 0x7f9df0be9cf8>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)

Settings

Using settings module conf.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[('razi', '[email protected]')]
ADMIN_SHORTCUTS
[{'shortcuts': [{'count': 'weblog.utils.count_posts',
                 'count_new': 'weblog.utils.count_unpublished_posts',
                 'has_perms': 'weblog.utils.has_weblog_perms',
                 'title': 'Posts',
                 'url_name': 'admin:weblog_post_changelist'},
                {'has_perms': 'weblog.utils.has_weblog_category_perms',
                 'title': 'Categories',
                 'url_name': 'admin:weblog_category_changelist'},
                {'has_perms': 'weblog.utils.has_news_ticker_perms',
                 'title': 'News Ticker',
                 'url_name': 'admin:news_ticker_newsitem_changelist'},
                {'has_perms': 'weblog.utils.has_featured_news_perms',
                 'title': 'Featured News',
                 'url_name': 'admin:featured_news_newsitem_changelist'},
                {'has_perms': 'weblog.utils.has_argent_news_perms',
                 'title': 'Argent News',
                 'url_name': 'admin:argent_news_newsitem_changelist'},
                {'has_perms': 'weblog.utils.has_jobs_perms',
                 'title': 'Job Opportunities',
                 'url_name': 'admin:jobs_jobopportunity_changelist'},
                {'has_perms': 'weblog.utils.has_ads_perms',
                 'title': 'Ads',
                 'url_name': 'admin:ads_ad_changelist'},
                {'has_perms': 'weblog.utils.has_admin_perms',
                 'title': 'Homepage Settings',
                 'url_name': 'admin:weblog_homepagesettings_change'},
                {'has_perms': 'weblog.utils.has_admin_perms',
                 'title': 'Homepage Categories',
                 'url_name': 'admin:weblog_homepagecategory_changelist'},
                {'has_perms': 'weblog.utils.has_admin_perms',
                 'title': 'Sidebar Settings',
                 'url_name': 'admin:weblog_sidebarsettings_change'},
                {'has_perms': 'weblog.utils.has_admin_perms',
                 'title': 'Menu Items',
                 'url_name': 'admin:weblog_menuitem_changelist'},
                {'has_perms': 'weblog.utils.has_admin_perms',
                 'title': 'Categories Permissions',
                 'url_name': 'admin:weblog_categorypermission_changelist'},
                {'has_perms': 'weblog.utils.has_newsletter_perms',
                 'title': 'Newsletter',
                 'url_name': 'admin:newsletter_newsletter_changelist'},
                {'has_perms': 'weblog.utils.has_admin_perms',
                 'title': 'log entries',
                 'url_name': 'admin:admin_logentry_changelist'},
                {'has_perms': 'weblog.utils.has_livestream_perms',
                 'title': 'LiveStream',
                 'url_name': 'admin:fb_live_widget_livestream_changelist'},
                {'has_perms': 'weblog.utils.has_push_perms',
                 'title': 'Push',
                 'url_name': 'admin:push_task_changelist'},
                {'count_new': 'weblog.contrib.send_article.utils.count_pending',
                 'has_perms': 'weblog.utils.has_send_article_perms',
                 'title': 'Received Articles',
                 'url_name': 'admin:send_article_article_changelist'},
                {'has_perms': 'weblog.utils.has_contacts_directory_perms',
                 'title': 'Contacts',
                 'url_name': 'admin:contacts_directory_person_changelist'},
                {'has_perms': 'weblog.utils.has_daily_reports_perms',
                 'title': 'Daily Reports',
                 'url_name': 'admin:daily_reports_dailyreport_changelist'}],
  'title': 'Weblog'}]
ADMIN_SHORTCUTS_SETTINGS
{'hide_app_list': False, 'open_new_window': False, 'show_on_all_pages': True}
ADS_DEFAULT_AD_SIZE
'720x150'
ADS_DEVICES
(('xs', 'Smartphones and Tablets'), ('lg', 'Large devices (Desktops)'))
ADS_GOOGLE_ADSENSE_CLIENT
'ca-pub-3714480040469225'
ADS_VIEWPORTS
{'lg': 'd-none img-fluid d-lg-block', 'xs': 'd-block img-fluid d-lg-none'}
ADS_ZONES
{'(1) header': {'ad_size': {'lg': '800x95',
                            'md': '800x95',
                            'sm': '800x95',
                            'xl': '800x95',
                            'xs': '650x95'},
                'name': 'HEADER'},
 '(10) content_below': {'ad_size': {'lg': '800x90',
                                    'md': '800x90',
                                    'sm': '800x90',
                                    'xl': '800x90',
                                    'xs': '720x150'},
                        'name': '10'},
 '(11) sidebar_top': {'ad_size': {'lg': '350x100',
                                  'md': '350x100',
                                  'sm': '350x100',
                                  'xl': '350x100',
                                  'xs': '720x150'},
                      'name': '11'},
 '(12) sidebar': {'ad_size': {'lg': '350x250',
                              'md': '350x250',
                              'sm': '350x250',
                              'xl': '350x250',
                              'xs': '720x150'},
                  'name': '12'},
 '(13) sidebar_bottom': {'ad_size': {'lg': '350x100',
                                     'md': '350x100',
                                     'sm': '350x100',
                                     'xl': '350x100',
                                     'xs': '720x150'},
                         'name': '13'},
 '(2) homepage_featured_first (above featured)': {'ad_size': {'lg': '550x90',
                                                              'md': '550x90',
                                                              'sm': '550x90',
                                                              'xl': '550x90',
                                                              'xs': '720x150'},
                                                  'name': '2 (above featured)'},
 '(2) homepage_featured_first (below featured)': {'ad_size': {'lg': '550x90',
                                                              'md': '550x90',
                                                              'sm': '550x90',
                                                              'xl': '550x90',
                                                              'xs': '720x150'},
                                                  'name': '2 (below featured)'},
 '(2.5) homepage_featured_nnu': {'ad_size': {'lg': '320x120',
                                             'md': '320x120',
                                             'sm': '320x120',
                                             'xl': '320x120',
                                             'xs': '720x150'},
                                 'name': '2.5 (nnu)'},
 '(3) homepage_featured_second (above featured)': {'ad_size': {'lg': '550x90',
                                                               'md': '550x90',
                                                               'sm': '550x90',
                                                               'xl': '550x90',
                                                               'xs': '720x150'},
                                                   'name': '3 (above '
                                                           'featured)'},
 '(3) homepage_featured_second (below featured)': {'ad_size': {'lg': '550x90',
                                                               'md': '550x90',
                                                               'sm': '550x90',
                                                               'xl': '550x90',
                                                               'xs': '720x150'},
                                                   'name': '3 (below '
                                                           'featured)'},
 '(4) homepage_sidebar': {'ad_size': {'lg': '370x215',
                                      'md': '370x215',
                                      'sm': '370x215',
                                      'xl': '370x215',
                                      'xs': '720x150'},
                          'name': 'FEATURED NEWS'},
 '(4) homepage_sidebar (1)': {'ad_size': {'lg': '100x440',
                                          'md': '100x440',
                                          'sm': '100x440',
                                          'xl': '100x440',
                                          'xs': '720x150'},
                              'name': '4 (first)'},
 '(4) homepage_sidebar (2)': {'ad_size': {'lg': '100x440',
                                          'md': '100x440',
                                          'sm': '100x440',
                                          'xl': '100x440',
                                          'xs': '720x150'},
                              'name': '4 (second)'},
 '(4) homepage_sidebar (3)': {'ad_size': {'lg': '100x440',
                                          'md': '100x440',
                                          'sm': '100x440',
                                          'xl': '100x440',
                                          'xs': '720x150'},
                              'name': '4 (third)'},
 '(4) homepage_sidebar (4)': {'ad_size': {'lg': '100x440',
                                          'md': '100x440',
                                          'sm': '100x440',
                                          'xl': '100x440',
                                          'xs': '720x150'},
                              'name': '4 (forth)'},
 '(4.5) homepage_c2_1_1': {'ad_size': {'lg': '320x230',
                                       'md': '320x230',
                                       'sm': '320x230',
                                       'xl': '320x230',
                                       'xs': '720x150'},
                           'name': 'HOMEPAGE 3'},
 '(5) homepage_below_tabs_second': {'ad_size': {'lg': '800x90',
                                                'md': '800x90',
                                                'sm': '800x90',
                                                'xl': '800x90',
                                                'xs': '720x150'},
                                    'name': '5'},
 '(6) homepage_sidebar_top_first': {'ad_size': {'lg': '350x250',
                                                'md': '350x250',
                                                'sm': '350x250',
                                                'xl': '350x250',
                                                'xs': '720x150'},
                                    'name': '6'},
 '(7) homepage_sidebar_top_second': {'ad_size': {'lg': '350x100',
                                                 'md': '350x100',
                                                 'sm': '350x100',
                                                 'xl': '350x100',
                                                 'xs': '720x150'},
                                     'name': '7'},
 '(8) homepage_sidebar_bottom': {'ad_size': {'lg': '350x100',
                                             'md': '350x100',
                                             'sm': '350x100',
                                             'xl': '350x100',
                                             'xs': '720x150'},
                                 'name': '8'},
 '(9) content_top': {'ad_size': {'lg': '800x90',
                                 'md': '800x90',
                                 'sm': '800x90',
                                 'xl': '800x90',
                                 'xs': '720x150'},
                     'name': '9'}}
ALLOWED_HOSTS
['nn.najah.edu', 'nn.ps', 'cf.nn.najah.edu', '127.0.0.1']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'weblog_profiles.User'
AWS_ACCESS_KEY_ID
'********************'
AWS_DEFAULT_ACL
None
AWS_IS_GZIPPED
True
AWS_S3_CUSTOM_DOMAIN
'assets.nn.najah.edu'
AWS_S3_OBJECT_PARAMETERS
{'CacheControl': 'max-age=31536000'}
AWS_SECRET_ACCESS_KEY
'********************'
AWS_STORAGE_BUCKET_NAME
'assets.nn.ps'
BASE_DIR
'/var/www/nn/src'
BLUE_ENDPOINT
'http://nmc.demo.ps/api/callback'
CACHALOT_CACHE
'cachalot'
CACHALOT_CACHE_RANDOM
False
CACHALOT_ONLY_CACHABLE_TABLES
frozenset({'ads_ad',
           'ads_adimage',
           'argent_news_newsitem',
           'django_flatpage',
           'django_flatpage_sites',
           'featured_news_newsitem',
           'flatpages_extend_flatpageextend',
           'news_ticker_newsitem',
           'ramadan_ramadancategory',
           'videos_library_video',
           'weblog_author',
           'weblog_authorsociallink',
           'weblog_category',
           'weblog_galleryphoto',
           'weblog_gallerypost',
           'weblog_homepagecategory',
           'weblog_homepagesettings',
           'weblog_htmlpost',
           'weblog_menuitem',
           'weblog_post',
           'weblog_post_authors',
           'weblog_post_co_authors',
           'weblog_sidebarcategory',
           'weblog_sidebarsettings',
           'weblog_videopost'})
CACHALOT_TIMEOUT
None
CACHES
{'cachalot': {'BACKEND': 'django_redis.cache.RedisCache',
              'KEY_PREFIX': '********************',
              'LOCATION': 'redis://127.0.0.1:6379/0',
              'TIMEOUT': 2592000},
 'default': {'BACKEND': 'django_redis.cache.RedisCache',
             'KEY_PREFIX': '********************',
             'LOCATION': 'redis://127.0.0.1:6379/0',
             'TIMEOUT': 2592000},
 'imagekit': {'BACKEND': 'django_redis.cache.RedisCache',
              'KEY_PREFIX': '********************',
              'LOCATION': 'redis://127.0.0.1:6379/0',
              'TIMEOUT': 2592000}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CAPTCHA_BACKGROUND_COLOR
'#F0F0F0'
CAPTCHA_FOREGROUND_COLOR
'#be1e2d'
CAPTCHA_IMAGE_SIZE
(100, 30)
CAPTCHA_LETTER_ROTATION
(-20, 20)
CAPTCHA_NOISE_FUNCTIONS
None
CELERY_BROKER_URL
'amqp://localhost/nn'
CELERY_ENABLE_UTC
True
CKEDITOR_CONFIGS
{'default': {'autoGrow_onStartup': True,
             'contentsCss': '/static/weblog/ckeditor.css',
             'extraPlugins': 'div,autolink,autoembed,embed,autogrow,image2,widget,lineutils,clipboard,dialog,dialogui,elementspath',
             'height': 300,
             'toolbar': 'weblog',
             'toolbar_weblog': [{'items': ['Source',
                                           '-',
                                           'Preview',
                                           'Print',
                                           '-',
                                           'Templates'],
                                 'name': 'document'},
                                {'items': ['Cut',
                                           'Copy',
                                           'Paste',
                                           'PasteText',
                                           'PasteFromWord',
                                           '-',
                                           'Undo',
                                           'Redo'],
                                 'name': 'clipboard'},
                                {'items': ['Find', 'Replace', '-', 'SelectAll'],
                                 'name': 'editing'},
                                '/',
                                {'items': ['Bold',
                                           'Italic',
                                           'Underline',
                                           'Strike',
                                           'Subscript',
                                           'Superscript',
                                           '-',
                                           'RemoveFormat'],
                                 'name': 'basicstyles'},
                                {'items': ['NumberedList',
                                           'BulletedList',
                                           '-',
                                           'Outdent',
                                           'Indent',
                                           '-',
                                           'Blockquote',
                                           'CreateDiv',
                                           '-',
                                           'JustifyLeft',
                                           'JustifyCenter',
                                           'JustifyRight',
                                           'JustifyBlock',
                                           '-',
                                           'BidiLtr',
                                           'BidiRtl'],
                                 'name': 'paragraph'},
                                {'items': ['Link', 'Unlink', 'Anchor'],
                                 'name': 'links'},
                                {'items': ['Image',
                                           'Embed',
                                           'Flash',
                                           'Table',
                                           'HorizontalRule',
                                           'Smiley',
                                           'SpecialChar',
                                           'PageBreak',
                                           'Iframe'],
                                 'name': 'insert'},
                                {'items': ['Styles', 'Format'],
                                 'name': 'styles'},
                                {'items': ['TextColor', 'BGColor'],
                                 'name': 'colors'},
                                {'items': ['Maximize', 'ShowBlocks'],
                                 'name': 'tools'}],
             'width': 800},
 'simple': {'toolbar': 'Basic'}}
CKEDITOR_IMAGE_BACKEND
'pillow'
CKEDITOR_UPLOAD_PATH
'uploads/'
CONCURRENCY_CALLBACK
'concurrency.views.callback'
CONCURRENCY_ENABLED
True
CONCURRENCY_FIELD_SIGNER
'concurrency.forms.VersionFieldSigner'
CONCURRENCY_HANDLER409
'weblog.views.concurrency.conflict'
CONCURRENCY_MANUAL_TRIGGERS
False
CONCURRENCY_POLICY
2
CONCURRENCY_VERSION_FIELD_REQUIRED
True
COUNTRIES_FIRST_REPEAT
True
COUNTRIES_OVERRIDE
{'IL': None, 'PS': 'فلسطين'}
CRISPY_TEMPLATE_PACK
'bootstrap3'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': '127.0.0.1',
             'NAME': 'nn',
             'OPTIONS': {'charset': 'utf8mb4',
                         'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': 'nn2'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
'N j, Y, P'
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']
DATE_FORMAT
'N j, 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']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'An-Najah News <[email protected]>'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
DJANGO_INFOPUSH_APP_ICON_URLS
'weblog/img/logov2-192x192.png'
DJANGO_INFOPUSH_DEFAULT_ICON_URL
'/static/weblog/img/logov2-192x192.png'
DJANGO_INFOPUSH_VAPID_ADMIN_EMAIL
'********************'
DJANGO_INFOPUSH_VAPID_PRIVATE_KEY
'********************'
DJANGO_INFOPUSH_VAPID_PUBLIC_KEY
'********************'
DJANGO_MYSQL_REWRITE_QUERIES
True
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_CONFIG
{'EMAIL_BACKEND': 'django.core.mail.backends.smtp.EmailBackend',
 'EMAIL_FILE_PATH': '',
 'EMAIL_HOST': 'smtp.gmail.com',
 'EMAIL_HOST_PASSWORD': '********************',
 'EMAIL_HOST_USER': '[email protected]',
 'EMAIL_PORT': 587,
 'EMAIL_USE_TLS': True}
EMAIL_FILE_PATH
''
EMAIL_HOST
'mail.nn.ps'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'noreply'
EMAIL_PORT
587
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
True
FILE_CHARSET
'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
'conf.formats'
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
HAYSTACK_CONNECTIONS
{'default': {'ENGINE': 'conf.nn_haystack.backends.elasticsearch2_backend.Elasticsearch2SearchEngine',
             'INDEX_NAME': 'nn',
             'URL': 'http://127.0.0.1:9200/'}}
HITCOUNT_KEEP_HIT_IN_DATABASE
{'days': 30}
HTML_MINIFY
True
IGNORABLE_404_URLS
[]
IMAGEKIT_CACHEFILE_DIR
'CACHE/images'
IMAGEKIT_CACHEFILE_NAMER
'imagekit.cachefiles.namers.hash'
IMAGEKIT_CACHE_BACKEND
'imagekit'
IMAGEKIT_CACHE_PREFIX
'imagekit:'
IMAGEKIT_CACHE_TIMEOUT
2592000
IMAGEKIT_DEFAULT_CACHEFILE_BACKEND
'imagekit.cachefiles.backends.Simple'
IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY
'imagekit.cachefiles.strategies.JustInTime'
IMAGEKIT_DEFAULT_FILE_STORAGE
'conf.storage.CustomS3Boto3Storage'
IMAGEKIT_SPEC_CACHEFILE_NAMER
'imagekit.cachefiles.namers.source_name_as_path'
IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY
'********************'
IMPORT_EXPORT_USE_TRANSACTIONS
True
INSTALLED_APPS
['dal',
 'dal_select2',
 'dal_select2_queryset_sequence',
 'admin_rtl_fix',
 'admin_shortcuts',
 'filebrowser',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'collectfast',
 'django.contrib.staticfiles',
 'django.contrib.sites',
 'django.contrib.sitemaps',
 'django.contrib.humanize',
 'django.contrib.flatpages',
 'captcha',
 'django_countries',
 'conf',
 'weblog',
 'weblog.contrib.argent_news',
 'weblog.contrib.news_ticker',
 'weblog.contrib.nnu_news',
 'weblog.contrib.forecast',
 'weblog.contrib.currency_converter',
 'weblog.contrib.polls',
 'weblog.contrib.newsletter',
 'weblog.contrib.jobs',
 'weblog.contrib.archive',
 'weblog.contrib.featured_news',
 'weblog.contrib.fb_live_widget',
 'weblog.contrib.flatpages_extend',
 'weblog.contrib.send_article',
 'weblog.contrib.contacts_directory',
 'weblog.contrib.daily_reports',
 'weblog.contrib.covid19',
 'weblog.contrib.ramadan',
 'weblog.contrib.sherin',
 'django_comments',
 'endorsement2020',
 'weblog_profiles',
 'videos_library',
 'najah_fm',
 'tawjihi_results',
 'prisoners_messages',
 'http2_push',
 'versatileimagefield',
 'django_extensions',
 'django_mysql',
 'polymorphic',
 'haystack',
 'sekizai',
 'crispy_forms',
 'imagekit',
 'sorl.thumbnail',
 'taggit',
 'mptt',
 'sortedm2m',
 'adminsortable2',
 'django_social_share',
 'sitetree',
 'el_pagination',
 'bootstrap_pagination',
 'concurrency',
 'django_summernote',
 'ckeditor',
 'ckeditor_uploader',
 'embed_video',
 'ads',
 'admin_row_actions',
 'hitcount',
 'solo',
 'cachalot',
 'django_user_agents',
 'import_export',
 'smart_selects',
 'django_inlinecss',
 'post_office',
 'robots',
 'django_thumbor',
 'django_js_reverse',
 'reversion',
 'django_admin_listfilter_dropdown',
 'logentry_admin',
 'storages',
 'webpack_loader',
 'rest_framework',
 'rest_framework.authtoken',
 'django_filters',
 'commonstuff',
 'push']
INTERNAL_IPS
[]
IS_STAGING
False
JS_REVERSE_INCLUDE_ONLY_NAMESPACES
['weblog', 'ads']
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'),
 ('dsb', 'Lower Sorbian'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-au', 'Australian English'),
 ('en-gb', 'British English'),
 ('eo', 'Esperanto'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian Spanish'),
 ('es-co', 'Colombian 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'),
 ('gd', 'Scottish Gaelic'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hsb', 'Upper Sorbian'),
 ('hu', 'Hungarian'),
 ('ia', 'Interlingua'),
 ('id', 'Indonesian'),
 ('io', 'Ido'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kab', 'Kabyle'),
 ('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 Bokmål'),
 ('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-hans', 'Simplified Chinese'),
 ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE
'ar'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
'/var/www/nn/public/media/'
MEDIA_URL
'https://nn.najah.edu/media/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MESSAGE_TAGS
{40: 'danger'}
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'weblog.middleware.WeblogRequestCacheMiddleware',
 'weblog.middleware.NoIndexMiddleware',
 'concurrency.middleware.ConcurrencyMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django_user_agents.middleware.UserAgentMiddleware',
 'http2_push.middleware.AddLinkHeaderMiddleware']
MIGRATION_MODULES
{}
MONTH_DAY_FORMAT
'F j'
NAJAH_FM_CLIENT_ID
'gi3TTq7WE8J3QwqBwG5PaY639Ufl7RLH'
NUMBER_GROUPING
0
PARENT_DIR
'/var/www/nn'
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
POST_OFFICE
{'CONTEXT_FIELD_CLASS': 'picklefield.fields.PickledObjectField'}
PREPEND_WWW
False
RAMADAN_PLACEHOLDER_CHOICES
(('featured', 'Featured'),
 ('top_fullwidth', 'Top Area (Full Width)'),
 ('top_first', 'المنطقة العلوية - العمود الأول'),
 ('top_second', 'المنطقة العلوية - العمود الثاني'),
 ('main1', 'المنطقة الرئيسية'),
 ('sidebar1', 'الشريط الجانبي'),
 ('4cols', 'Full Width (4 Columns)'),
 ('3cols', 'Full Width (3 Columns)'),
 ('3cols_sidebar', 'Full Width (3 Columns - Sidebar)'),
 ('main2', 'المنطقة الرئيسية'),
 ('sidebar2', 'الشريط الجانبي'))
REDACTOR_OPTIONS
{'lang': 'ar',
 'plugins': ['uploadcare', 'video'],
 'uploadcare': {'crop': 'free',
                'publicKey': '********************',
                'tabs': 'all'}}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.TokenAuthentication',
                                    'rest_framework.authentication.SessionAuthentication'],
 'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'],
 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'],
 'DEFAULT_THROTTLE_CLASSES': ['rest_framework.throttling.AnonRateThrottle',
                              'rest_framework.throttling.UserRateThrottle'],
 'DEFAULT_THROTTLE_RATES': {'anon': '1/day', 'user': '100/minute'},
 'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.NamespaceVersioning',
 'PAGE_SIZE': 20}
ROBOTS_SITEMAP_URLS
['https://nn.najah.edu/sitemap.xml']
ROOT_URLCONF
'conf.urls'
SECRET_KEY
'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'[email protected]'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
'nn.najah.edu'
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'conf.settings'
SHERIN_PLACEHOLDER_CHOICES
(('featured', 'Featured'),
 ('top_first', 'المنطقة العلوية - العمود الأول'),
 ('top_second', 'المنطقة العلوية - العمود الثاني'),
 ('main1', 'المنطقة الرئيسية'),
 ('sidebar1', 'الشريط الجانبي'),
 ('4cols', 'Full Width (4 Columns)'),
 ('3cols', 'Full Width (3 Columns)'),
 ('3cols_sidebar', 'Full Width (3 Columns - Sidebar)'),
 ('main2', 'المنطقة الرئيسية'),
 ('sidebar2', 'الشريط الجانبي'))
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
['mysql.E001']
SITE_ID
1
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
'/var/www/nn/public/static/'
STATIC_URL
'/static/'
SUMMERNOTE_CONFIG
{'base_css': ('//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css',),
 'base_js': ('//code.jquery.com/jquery-3.3.1.min.js',
             '//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'),
 'default_css': ('summernote/summernote.css',
                 'summernote/django_summernote.css'),
 'default_js': ('summernote/jquery.ui.widget.js',
                'summernote/jquery.iframe-transport.js',
                'summernote/jquery.fileupload.js',
                'summernote/summernote.min.js',
                'summernote/ResizeSensor.js'),
 'direction': 'rtl',
 'js': ('/static/summernote/uploadcare.js',),
 'toolbar': [['style', ['style']],
             ['font',
              ['bold',
               'italic',
               'underline',
               'superscript',
               'subscript',
               'strikethrough',
               'clear']],
             ['fontname', ['fontname']],
             ['fontsize', ['fontsize']],
             ['color', ['color']],
             ['para', ['ul', 'ol', 'paragraph']],
             ['height', ['height']],
             ['table', ['table']],
             ['insert', ['link', 'picture', 'video', 'uploadcare', 'hr']],
             ['view', ['fullscreen', 'codeview']],
             ['help', ['help']]],
 'uploadcare': {'crop': 'free',
                'multiple': True,
                'publicKey': '********************',
                'tabs': 'all',
                'tooltipText': 'Upload files or video or something'},
 'width': '100%'}
TAWJIHI_RESULTS_ACTIVE
True
TAWJIHI_RESULTS_YEAR
2021
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['conf/templates'],
  'OPTIONS': {'context_processors': ['django.template.context_processors.request',
                                     'django.contrib.auth.context_processors.auth',
                                     'django.contrib.messages.context_processors.messages',
                                     'sekizai.context_processors.sekizai',
                                     'weblog.context_processors.footer_categories',
                                     'weblog.context_processors.homepage_settings',
                                     'weblog.context_processors.gapi_access_token'],
              'debug': True}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
THUMBNAIL_DEBUG
False
THUMBNAIL_FILTER_WIDTH
720
THUMBNAIL_HIGH_RESOLUTION
True
THUMBNAIL_PADDING
True
THUMBNAIL_PRESERVE_FORMAT
True
THUMBNAIL_QUALITY
85
THUMBOR_ALIASES
{'100x100': {'height': 100, 'smart': True, 'width': 100},
 '400x225': {'height': 225, 'smart': True, 'width': 400},
 '400x300': {'height': 300, 'smart': True, 'width': 400},
 '425x300': {'height': 600, 'smart': True, 'width': 850},
 '450x300': {'height': 300, 'smart': True, 'width': 450},
 '480x165': {'height': 165, 'smart': True, 'width': 480},
 '50x50': {'height': 50, 'smart': True, 'width': 50},
 '700x700': {'height': 700, 'smart': True, 'width': 800},
 '720x500': {'height': 600, 'smart': True, 'width': 900},
 '800x400': {'height': 396, 'smart': True, 'width': 800},
 '800x482': {'height': 482, 'smart': True, 'width': 800},
 'infographic': {'height': 0, 'width': 400}}
THUMBOR_MEDIA_URL
'https://nn.najah.edu/media'
THUMBOR_SECURITY_KEY
'********************'
THUMBOR_SERVER
'https://m1.nn.najah.edu'
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'Asia/Gaza'
USER_AGENTS_CACHE
'default'
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
VIDEOS_LIBRARY_ACCESS_TOKEN
'********************'
VIDEOS_LIBRARY_CLIENT_ID
'24a5c3355c3580217ee62fd9a70fa55e53cfd14c'
VIDEOS_LIBRARY_CLIENT_SECRET
'********************'
WATERMARK_FORCE
'watermark text'
WATERMARK_MIN_SIZE
150
WEBLOG_ARCHIVE_DAYS
-30
WEBLOG_ARCHIVE_ENABLED
True
WEBLOG_ARCHIVE_PROTOCOL
'https'
WEBLOG_ARCHIVE_REDIRECT
False
WEBLOG_ARCHIVE_SITE_ID
2
WEBLOG_AUTHOR_TYPE_CHOICES
(('REPORTER', 'Reporter'), ('WRITER', 'Writer'), ('EDITOR', 'Editor'))
WEBLOG_CATEGORY_COLOR_CHOICES
(('blue', 'أزرق'),
 ('indigo', 'نيلي'),
 ('purple', 'بنفسجي'),
 ('pink', 'زهري'),
 ('red', 'أحمر'),
 ('orange', 'برتقالي'),
 ('yellow', 'أصفر'),
 ('green', 'أخضر'),
 ('teal', 'أزرق مخضر'),
 ('cyan', 'أزرق سماوي'),
 ('gray', 'رمادي'),
 ('gray-dark', 'رمادي غامق'))
WEBLOG_CATEGORY_STYLE_CHOICES
(('full_simple', 'Simple'),
 ('full_complex', 'Complex'),
 ('full_ramadan_main', 'Ramadan (Main Page)'),
 ('full_ramadan_page', 'رمضان'))
WEBLOG_CATEGORY_STYLE_DESKTOPS_CHOICES
(('1col_of_minimal_content', 'One Column [Minimal]'),
 ('1col_carousel_simple', '1 Column Slideshow'),
 ('1col_carousel_simple_style2', '1 Column Slideshow (style2)'),
 ('1col_of_featured_wide_thumbs', 'One Column [Featured Wide Thumbs]'),
 ('1col_of_media', 'عمود واحد'),
 ('1col_of_media-3-9', 'One Column [Media 3-9]'),
 ('1col_of_thumbs', 'عمود واحد من الصور المصغرة'),
 ('1col_of_thumbs_tall', 'One Column [Tall Thumbs]'),
 ('1col-featured-and-1col-media',
  'عمود يحتوي على خبر كبير + عمود يحتوي على باقي الأخبار'),
 ('1col-featured-no-teaser-and-1col-media',
  '1 Column Featured (No Teaser) + 1 Column Media'),
 ('1featured_with_teaser_plus_media', 'خبر كبير + باقي الأخبار'),
 ('1featured_without_teaser_plus_media',
  '1 Featured post without teaser + Media'),
 ('2cols_of_media', 'Tow Columns [Media]'),
 ('2cols_of_thumbs', 'عمودين من الصور المصغرة'),
 ('2cols_of_wide_thumbs', 'عمودين من الصور المصغرة العريضة'),
 ('2cols_of_modern_thumbs', 'Two columns of Modern Thumbnails'),
 ('3cols_of_media', 'Three Columns [Media]'),
 ('3cols_of_media_rounded', 'Three Columns [Rounded Media]'),
 ('3cols_of_thumbs', 'Three columns of Thumbnails'),
 ('3cols_of_modern_thumbs', 'عمودين من الصور المصغرة 2'),
 ('xcols_of_thumbs', 'X columns of Thumbnails'),
 ('4cols_of_media_rounded', 'Four Columns [Rounded Media]'),
 ('xcols_of_large_thumbs', 'X columns of Large Thumbnails'),
 ('xcols_of_modern_thumbs', 'X columns of Modern Thumbnails'),
 ('xcols_of_wide_thumbs', 'X columns of Wide Thumbnails'),
 ('carousel', 'عرض الشرائح (سلايدشو)'),
 ('carousel_style2', 'Carousel (Style 2)'),
 ('infographic', 'إنفوجرافيك'),
 ('1thumb_and_simple', 'صورة مصغرة + عناوين'),
 ('1media_and_simple', 'خبر مع صورة + عناوين'),
 ('featured_block', 'Featured Block'),
 ('featured_block_3items', 'Featured Block (3 Items)'),
 ('featured_block_3items_style2', 'Featured Block (3 Items - Style 2)'),
 ('featured_block_4items', 'Featured Block (4 Items)'),
 ('featured_block_4items_reversed', 'Featured Block (4 Items - Reversed)'),
 ('featured_block_6items', 'Featured Block (6 Items)'),
 ('modern-1col-featured-and-1col-media',
  '[MODERN] 1 Column Featured + 1 Column Media'),
 ('1col_of_thumbs_nnu', 'An-Najah N. University News'),
 ('custom_annajah_opinion', 'An-Najah Opinion'),
 ('nnu_featured', 'An-Najah "Featured"'))
WEBLOG_CATEGORY_STYLE_MOBILES_CHOICES
(('1col_of_minimal_content', 'One Column [Minimal]'),
 ('1col_of_media', 'عمود واحد'),
 ('1col_of_thumbs', 'عمود واحد من الصور المصغرة'),
 ('2cols_of_thumbs', 'عمودين من الصور المصغرة'),
 ('mobile_2thumb_and_simple', '2 Thumbnail + Titles'),
 ('mobile_1thumb_and_simple', 'صورة مصغرة + عناوين'),
 ('mobile_1media_and_simple', 'خبر مع صورة + عناوين'),
 ('carousel', 'عرض الشرائح (سلايدشو)'),
 ('infographic', 'إنفوجرافيك'),
 ('custom_annajah_opinion', 'An-Najah Opinion'))
WEBLOG_CATEGORY_THEME_CHOICES
(('blue', 'أزرق'),
 ('indigo', 'نيلي'),
 ('purple', 'بنفسجي'),
 ('pink', 'زهري'),
 ('red', 'أحمر'),
 ('orange', 'برتقالي'),
 ('yellow', 'أصفر'),
 ('green', 'أخضر'),
 ('teal', 'أزرق مخضر'),
 ('cyan', 'أزرق سماوي'),
 ('gray', 'رمادي'),
 ('gray-dark', 'رمادي غامق'),
 ('primary', 'Primary'),
 ('secondary', 'Secondary'),
 ('success', 'Success'),
 ('danger', 'Danger'),
 ('warning', 'Warning'),
 ('info', 'Info'),
 ('light', 'Light'),
 ('dark', 'Dark'))
WEBLOG_CURRENCY_CONVERTER_CACHE_TIMEOUT
600
WEBLOG_CURRENCY_CONVERTER_CURRENCYLAYER_API_KEY
'********************'
WEBLOG_CURRENCY_CONVERTER_CURRENCYLAYER_CURRENCIES
(('JOD', 'دينار أردني'),
 ('USD', 'دولار'),
 ('EUR', 'يورو'),
 ('EGP', 'جنيه مصري'))
WEBLOG_CURRENCY_CONVERTER_CURRENCYLAYER_FLIP_RESULTS
True
WEBLOG_CURRENCY_CONVERTER_CURRENCYLAYER_SOURCE
'ILS'
WEBLOG_ENTRY_BASE_MODEL
'weblog.models.entry_base.AbstractEntry'
WEBLOG_ENTRY_STATUS_CHOICES
((0, 'مسودة'), (1, 'مخفي'), (2, 'منشور'))
WEBLOG_ENTRY_STATUS_DRAFT
0
WEBLOG_ENTRY_STATUS_HIDDEN
1
WEBLOG_ENTRY_STATUS_PUBLISHED
2
WEBLOG_FEATURED_POSTS_COUNT_CHOICES
[[0, '0'],
 [1, '1'],
 [2, '2'],
 [3, '3'],
 [4, '4'],
 [5, '5'],
 [6, '6'],
 [7, '7'],
 [8, '8'],
 [9, '9'],
 [10, '10'],
 [11, '11'],
 [12, '12'],
 [13, '13'],
 [14, '14'],
 [15, '15'],
 [16, '16'],
 [17, '17'],
 [18, '18'],
 [19, '19'],
 [20, '20'],
 [21, '21'],
 [22, '22'],
 [23, '23'],
 [24, '24'],
 [25, '25'],
 [26, '26'],
 [27, '27'],
 [28, '28'],
 [29, '29'],
 [30, '30']]
WEBLOG_FEATURED_POSTS_COUNT_DEFAULT
3
WEBLOG_FOOTER_CATEGORIES
('lngh-bls',)
WEBLOG_FORECAST_CACHE_TIMEOUT
3600
WEBLOG_FORECAST_FORECASTIO_API
'********************'
WEBLOG_FORECAST_FORECASTIO_LANG
'ar'
WEBLOG_FORECAST_FORECASTIO_LATITUDE
'32.223895'
WEBLOG_FORECAST_FORECASTIO_LONGITUE
'35.243711'
WEBLOG_FORECAST_FORECASTIO_UNITS
'si'
WEBLOG_FORECAST_YAHOO_UNITS
'c'
WEBLOG_FORECAST_YAHOO_WOEID
'1937300'
WEBLOG_HOMEPAGE_FEATURED_POSTS_COUNT
{'weblog/homepage/modern_1post_style1.html': 1,
 'weblog/homepage/modern_1post_style2.html': 1,
 'weblog/homepage/modern_2posts.html': 2,
 'weblog/homepage/modern_3posts.html': 3,
 'weblog/homepage/modern_4posts.html': 4,
 'weblog/homepage/modern_5posts.html': 5,
 'weblog/homepage/modern_5posts_new.html': 5,
 'weblog/homepage/modern_old_3posts.html': 3}
WEBLOG_HOMEPAGE_FEATURED_POSTS_COUNT_DEFAULT
5
WEBLOG_HOMEPAGE_PLACEHOLDER_CHOICES
(('nnu_featured', 'An-Najah "Featured"'),
 ('top', 'أعلى الصفحة (كامل عرض الصفحة)'),
 ('main_0', 'Main Aria (0)'),
 ('sidebar_0', 'Sidebar (0)'),
 ('dark_blocks1', 'Dark Blocks (1)'),
 ('top_col_1', 'Top Area (Col 1)'),
 ('top_col_2', 'Top Area (Col 2)'),
 ('top_col_3', 'Top Area (Col 3)'),
 ('top_col_4', 'Top Area (Col 4)'),
 ('top_col_5', 'Top Area (Col 5)'),
 ('top_col_6', 'Top Area (Col 6)'),
 ('top_col_7', 'Top Area (Col 7)'),
 ('sidebar_featured', 'Sidebar (Featured)'),
 ('c2_c1_c1_columns_1', '2-1-1 (1)'),
 ('fullwidth_1', 'Full Width (1)'),
 ('main_1', 'Main Aria (1)'),
 ('sidebar_1', 'Sidebar (1)'),
 ('equal_columns_1', 'Equal Columns (1)'),
 ('fullwidth_2', 'Full Width (2)'),
 ('main_2', 'Main Aria (2)'),
 ('sidebar_2', 'Sidebar (2)'),
 ('equal_columns_1', 'Equal Columns (2)'),
 ('dark_blocks_3', 'Dark Blocks (3)'),
 ('fullwidth_3', 'Full Width (3)'),
 ('main_3', 'Main Aria (3)'),
 ('sidebar_3', 'Sidebar (3)'),
 ('equal_columns_3', 'Equal Columns (3)'),
 ('fullwidth_4', 'Full Width (4)'),
 ('main_4', 'Main Aria (4)'),
 ('sidebar_4', 'Sidebar (4)'),
 ('equal_columns_4', 'Equal Columns (4)'),
 ('fullwidth_5', 'Full Width (5)'),
 ('main_5', 'Main Aria (5)'),
 ('sidebar_5', 'Sidebar (5)'),
 ('equal_columns_5', 'Equal Columns (5)'),
 ('fullwidth_6', 'Full Width (6)'),
 ('main_6', 'Main Aria (6)'),
 ('sidebar_6', 'Sidebar (6)'),
 ('equal_columns_6', 'Equal Columns (6)'),
 ('footer_blocks', 'Footer Blocks'))
WEBLOG_HOMEPAGE_TEMPLATE_CHOICES
(('weblog/homepage/modern_1post_style1.html', '1 Post (Style 1)'),
 ('weblog/homepage/modern_1post_style2.html', '1 Post (Style 2)'),
 ('weblog/homepage/modern_2posts.html', '2 Posts'),
 ('weblog/homepage/modern_3posts.html', '3 Posts'),
 ('weblog/homepage/modern_old_3posts.html', '3 Posts (Old style)'),
 ('weblog/homepage/modern_4posts.html', '4 Posts'),
 ('weblog/homepage/modern_5posts.html', '5 Posts (Default)'),
 ('weblog/homepage/modern_5posts_new.html', '5 Posts (New Design)'))
WEBLOG_HOMEPAGE_TEMPLATE_DEFAULT
'weblog/homepage/modern_5posts.html'
WEBLOG_MARKDOWN_EXTENSIONS
[]
WEBLOG_MARKUP_LANGUAGE
'html'
WEBLOG_POST_WEIGHT
((0, '0'), (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'))
WEBLOG_PREVIEW_MAX_WORDS
25
WEBLOG_PREVIEW_MORE_STRING
' ...'
WEBLOG_PREVIEW_SPLITTERS
['<!-- more -->', '<!--more-->']
WEBLOG_PROTOCOL
'https'
WEBLOG_RESTRUCTUREDTEXT_SETTINGS
{}
WEBLOG_SIDEBAR_FEATURED_POSTS_COUNT
7
WEBLOG_SITE_ID
1
WEBLOG_SOCIAL_LINK_TYPE_CHOICES
(('facebook', 'فيسبوك'),
 ('twitter', 'تويتر'),
 ('linkedin', 'لنكدإن'),
 ('google', 'جوجل+'))
WEBLOG_UNFEATURED_POSTS_COUNT_CHOICES
[[0, '0'],
 [1, '1'],
 [2, '2'],
 [3, '3'],
 [4, '4'],
 [5, '5'],
 [6, '6'],
 [7, '7'],
 [8, '8'],
 [9, '9'],
 [10, '10'],
 [11, '11'],
 [12, '12'],
 [13, '13'],
 [14, '14'],
 [15, '15'],
 [16, '16'],
 [17, '17'],
 [18, '18'],
 [19, '19'],
 [20, '20'],
 [21, '21'],
 [22, '22'],
 [23, '23'],
 [24, '24'],
 [25, '25'],
 [26, '26'],
 [27, '27'],
 [28, '28'],
 [29, '29'],
 [30, '30']]
WEBLOG_UNFEATURED_POSTS_COUNT_DEFAULT
0
WEBLOG_UPLOAD_TO
'uploads/weblog'
WEBLOG_URL_SHORTENER_BACKEND
'weblog.url_shortener.backends.default.DefaultBackend'
WEBPACK_LOADER
{'DEFAULT': {'BUNDLE_DIR_NAME': '',
             'CACHE': True,
             'IGNORE': ['.+\\.hot-update.js', '.+\\.map'],
             'POLL_INTERVAL': 0.1,
             'STATS_FILE': '/var/www/nn/src/conf/static/webpack-stats.json',
             'TIMEOUT': None}}
WSGI_APPLICATION
'conf.wsgi.application'
X_FRAME_OPTIONS
'SAMEORIGIN'
YEAR_MONTH_FORMAT
'F Y'

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 page generated by the handler for this status code.