Skip to content

Upgrade Django version 5.2.3 #2

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A simple Blog Application using Django

<h2>Additional Python Modules Required:</h2>
<ul>
<li><b>Django 2.2.7 :</b> pip install Django==2.2.7</li>
<li><b>Django 5.2.3 :</b> pip install Django==5.2.3</li>
<li><b>django-crispy-forms :</b> pip install django-crispy-forms</li>
<li><b>Pillow :</b> pip install Pillow</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion blog/templates/blog/base.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
<!doctype html>
<html lang="en">
<head>
Expand Down
5 changes: 4 additions & 1 deletion django_blog/settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Django settings for django_blog project.

Generated by 'django-admin startproject' using Django 2.2.7.
Generated by 'django-admin startproject' using Django 5.2.3.

For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
Expand Down Expand Up @@ -40,6 +40,7 @@
'blog.apps.BlogConfig',
'users.apps.UsersConfig',
'crispy_forms',
"crispy_bootstrap4",
]

MIDDLEWARE = [
Expand Down Expand Up @@ -71,6 +72,8 @@
]

WSGI_APPLICATION = 'django_blog.wsgi.application'
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4"
CRISPY_TEMPLATE_PACK = "bootstrap4"


# Database
Expand Down