diff --git a/NorahUniversity/settings.py b/NorahUniversity/settings.py index ae1397a..68669bc 100644 --- a/NorahUniversity/settings.py +++ b/NorahUniversity/settings.py @@ -572,4 +572,7 @@ CACHES = { "CLIENT_CLASS": "django_redis.client.DefaultClient", } } -} \ No newline at end of file +} + + +CSRF_TRUSTED_ORIGINS=["http://10.10.1.126","https://kaauh1.tenhal.sa",'http://127.0.0.1'] \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index f7324df..c871916 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,7 +25,7 @@ - {% block customCSS %}{% endblock %} + {% block customCSS %}{% endblock %}
@@ -41,15 +41,7 @@ {% trans "Dashboard" %} - - - {% trans "Messages" %} - {% if request.user.get_unread_message_count > 0 %} - - {{ request.user.get_unread_message_count }} - - {% endif %} - + {% trans "Jobs" %} @@ -71,10 +63,25 @@ {% trans "Interviews" %} - - {% trans "Career Page" %} - +