File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 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
3
1
4
- name : Python application
2
+ name : Roback
5
3
6
4
on :
7
5
push :
Original file line number Diff line number Diff line change 55
55
'django.middleware.csrf.CsrfViewMiddleware' ,
56
56
'django.contrib.auth.middleware.AuthenticationMiddleware' ,
57
57
'django.contrib.messages.middleware.MessageMiddleware' ,
58
- 'django.middleware.clickjacking.XFrameOptionsMiddleware' ,
58
+ 'django.middleware.clickjacking.XFrameOptionsMiddleware' , # Prevent clickjacking attacks
59
59
]
60
60
61
61
ROOT_URLCONF = 'roback.urls'
Original file line number Diff line number Diff line change 4
4
from django .core .files .base import ContentFile
5
5
from rest_framework .test import APITestCase
6
6
from rest_framework import status
7
- from unittest .mock import patch
8
7
from datetime import datetime
9
8
10
9
from search_targets .models import SearchTarget , Media
You can’t perform that action at this time.
0 commit comments