Skip to content

Commit 58b4386

Browse files
committed
[MISC] Non impactful improvements
1 parent 9d47751 commit 58b4386

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
31

4-
name: Python application
2+
name: Roback
53

64
on:
75
push:

src/roback/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
'django.middleware.csrf.CsrfViewMiddleware',
5656
'django.contrib.auth.middleware.AuthenticationMiddleware',
5757
'django.contrib.messages.middleware.MessageMiddleware',
58-
'django.middleware.clickjacking.XFrameOptionsMiddleware',
58+
'django.middleware.clickjacking.XFrameOptionsMiddleware', # Prevent clickjacking attacks
5959
]
6060

6161
ROOT_URLCONF = 'roback.urls'

src/search_targets/tests/tests_medias_endpoints.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from django.core.files.base import ContentFile
55
from rest_framework.test import APITestCase
66
from rest_framework import status
7-
from unittest.mock import patch
87
from datetime import datetime
98

109
from search_targets.models import SearchTarget, Media

0 commit comments

Comments
 (0)