Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
fix pathnames
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpdev committed Feb 21, 2024
1 parent 7a95e5f commit 9610e5c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Analysing the code with flake8
working-directory: ./backend
run: |
flake8 backend/ drtrottoir/
flake8 pigeonhole/ testapi/
ESLint:
runs-on: self-hosted
Expand Down
2 changes: 1 addition & 1 deletion backend/testapi/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from django.contrib import admin
# from django.contrib import admin

# Register your models here.
2 changes: 1 addition & 1 deletion backend/testapi/models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from django.db import models
# from django.db import models

# Create your models here.
2 changes: 1 addition & 1 deletion backend/testapi/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ class Meta:
class GroupSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Group
fields = ['url', 'name']
fields = ['url', 'name']
2 changes: 1 addition & 1 deletion backend/testapi/tests.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from django.test import TestCase
# from django.test import TestCase

# Create your tests here.
2 changes: 1 addition & 1 deletion backend/testapi/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ class GroupViewSet(viewsets.ModelViewSet):
"""
queryset = Group.objects.all()
serializer_class = GroupSerializer
permission_classes = [permissions.AllowAny]
permission_classes = [permissions.AllowAny]

0 comments on commit 9610e5c

Please sign in to comment.