From 55498d1452f1d37703fb81b6d3d2cadb659e3733 Mon Sep 17 00:00:00 2001 From: ilyespadam Date: Wed, 3 Jul 2024 11:48:08 +0200 Subject: [PATCH 1/2] update django --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 89c9f0c8..7ff8a060 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Django==3.2.5 +Django==4.3.2 django-extensions==3.1.3 Werkzeug==2.0.1 From 834ef2b46f59283e961b0f12decef49c476eb006 Mon Sep 17 00:00:00 2001 From: ilyespadam Date: Thu, 4 Jul 2024 12:21:35 +0200 Subject: [PATCH 2/2] update django --- Makefile | 5 ++++- manage.py | 1 + padam_django/asgi.py | 2 +- requirements.txt | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4062f4c4..04af5c8c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ run: ## Run the test server. - python manage.py runserver_plus + python3 manage.py runserver_plus install: ## Install the python requirements. pip install -r requirements.txt + +migrate: ## Install the python requirements. + python3 manage.py migrate diff --git a/manage.py b/manage.py index dcd7b5c7..bb86f7ec 100755 --- a/manage.py +++ b/manage.py @@ -1,3 +1,4 @@ + #!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os diff --git a/padam_django/asgi.py b/padam_django/asgi.py index 3b4826e3..ea8d1924 100644 --- a/padam_django/asgi.py +++ b/padam_django/asgi.py @@ -1,4 +1,4 @@ -""" + """ ASGI config for padam_django project. It exposes the ASGI callable as a module-level variable named ``application``. diff --git a/requirements.txt b/requirements.txt index 7ff8a060..2203237b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -Django==4.3.2 +Django==4.2.9 -django-extensions==3.1.3 +django-extensions==3.2.1 Werkzeug==2.0.1 ipython==7.25.0