diff --git a/Chapter14/requirements.txt b/Chapter14/requirements.txt index 8b467ae2..b6e5f7bc 100644 --- a/Chapter14/requirements.txt +++ b/Chapter14/requirements.txt @@ -3,8 +3,9 @@ Django~=5.2 sqlparse==0.5.0 Pillow~=11.2 django-braces==1.15.0 -django-embed-video==1.4.9 +django-embed-video==1.4.10 pymemcache==4.0.0 django-debug-toolbar==4.3.0 redis==5.0.4 django-redisboard==8.4.0 +setuptools==80.9.0 diff --git a/Chapter15/requirements.txt b/Chapter15/requirements.txt index c036c0db..c0a4178c 100644 --- a/Chapter15/requirements.txt +++ b/Chapter15/requirements.txt @@ -3,10 +3,11 @@ Django~=5.2 Pillow~=11.2 sqlparse==0.5.0 django-braces==1.15.0 -django-embed-video==1.4.9 +django-embed-video==1.4.10 pymemcache==4.0.0 django-debug-toolbar==4.3.0 redis==5.0.4 django-redisboard==8.4.0 djangorestframework==3.15.1 requests==2.31.0 +setuptools==80.9.0 diff --git a/Chapter16/educa/manage.py b/Chapter16/educa/manage.py old mode 100644 new mode 100755 diff --git a/Chapter16/requirements.txt b/Chapter16/requirements.txt index 9cd52444..f304dbdc 100644 --- a/Chapter16/requirements.txt +++ b/Chapter16/requirements.txt @@ -3,7 +3,7 @@ Django~=5.2 sqlparse==0.5.0 Pillow~=11.2 django-braces==1.15.0 -django-embed-video==1.4.9 +django-embed-video==1.4.10 pymemcache==4.0.0 django-debug-toolbar==4.3.0 redis==5.0.4 @@ -12,3 +12,4 @@ djangorestframework==3.15.1 requests==2.31.0 channels[daphne]==4.1.0 channels-redis==4.2.0 +setuptools==80.9.0 diff --git a/Chapter17/educa/students/forms.py b/Chapter17/educa/students/forms.py index 15f691aa..a28f269f 100644 --- a/Chapter17/educa/students/forms.py +++ b/Chapter17/educa/students/forms.py @@ -10,5 +10,5 @@ class CourseEnrollForm(forms.Form): ) def __init__(self, *args, **kwargs): - super(CourseEnrollForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) self.fields['course'].queryset = Course.objects.all() diff --git a/Chapter17/requirements.txt b/Chapter17/requirements.txt index c6ee8635..4a98f019 100644 --- a/Chapter17/requirements.txt +++ b/Chapter17/requirements.txt @@ -3,7 +3,7 @@ Django~=5.2 Pillow~=11.2 sqlparse==0.5.0 django-braces==1.15.0 -django-embed-video==1.4.9 +django-embed-video==1.4.10 pymemcache==4.0.0 django-debug-toolbar==4.3.0 redis==5.0.4 @@ -15,3 +15,4 @@ channels-redis==4.2.0 psycopg==3.1.18 uwsgi==2.0.25.1 python-decouple==3.8 +setuptools==80.9.0