]> git.p6c8.net - pcdenotes.git/commitdiff
Updated Django to 4.0.2
authorPatrick Canterino <patrick@patrick-canterino.de>
Tue, 15 Feb 2022 18:35:08 +0000 (19:35 +0100)
committerPatrick Canterino <patrick@patrick-canterino.de>
Tue, 15 Feb 2022 18:35:08 +0000 (19:35 +0100)
Finally figured out how to install Python 3.8 in my venv ;)

.gitignore
notes/templates/note_list.html
requirements.txt

index be04a689e42f441d86e804400b03a5083d10e684..7871bf94ecabf283aa7a137cb6fa5a58127faf9f 100644 (file)
@@ -1,5 +1,6 @@
 .env*
 !.env.sample
 .venv
+.venv-old
 __pycache__
 db.sqlite3
index f1f5ee530c591805555fda26e262dfb9384f7f03..5647f9c09314e934848dc18798faa7950c7122f4 100644 (file)
   {% if page_count > 1 %}
     <ul class="pagination mt-5">
       {% for page in pages %}
-        {% ifnotequal page.number page_number %}
+        {% if page.number != page_number %}
           <li class="page-item"><a href="?page={{ page.number }}" class="page-link">{{ page.number }}</a></li>
         {% else %}
           <li class="page-item active"><span class="page-link">{{ page.number }}</span></li>
-        {% endifnotequal %}
+        {% endif %}
       {% endfor %}
     </ul>
   {% endif %}
index f37921d604df2425b45a42506890ec3d5cc2076d..9f595996e02ca2ef7e2be523a3eeb171389ee138 100644 (file)
@@ -1,15 +1,15 @@
-asgiref==3.4.1
-Django==3.2.12
-importlib-metadata==4.8.3
+asgiref==3.5.0
+backports.zoneinfo==0.2.1
+Django==4.0.2
+importlib-metadata==4.11.1
 Markdown==3.3.6
 mysqlclient==2.1.0
 packaging==21.3
-pkg-resources==0.0.0
 pyparsing==3.0.7
 python-dotenv==0.19.2
 pytz==2021.3
 six==1.16.0
 sqlparse==0.4.2
-typing-extensions==4.0.1
+typing_extensions==4.1.1
 webencodings==0.5.1
-zipp==3.6.0
+zipp==3.7.0

patrick-canterino.de