Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit 5b87499

Browse files
committed
pepify
1 parent 2206d8f commit 5b87499

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fdadb/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def has_add_permission(self, request):
1717
def has_change_permission(self, request, obj=None):
1818
if obj:
1919
return False
20-
20+
2121
# allow listing medications in admin
2222
return True
2323

fdadb/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
from django.conf import settings
33
from rest_framework.generics import ListAPIView
4-
from rest_framework.pagination import PageNumberPagination, LimitOffsetPagination
4+
from rest_framework.pagination import LimitOffsetPagination, PageNumberPagination
55
from rest_framework.permissions import AllowAny
66

77
from fdadb.es_search import EsSearchAPI

0 commit comments

Comments
 (0)