Skip to content

Commit

Permalink
Merge pull request #50 from TheSecretOrganization/47-delete-drf
Browse files Browse the repository at this point in the history
Delete Drf
  • Loading branch information
antoineverin authored Aug 29, 2024
2 parents 03b4765 + d29cbdf commit 5034590
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions django/conf/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ constantly==23.10.4
cryptography==43.0.0
daphne==4.1.2
Django==5.1
djangorestframework==3.15.2
exceptiongroup==1.2.2
h11==0.14.0
hyperlink==21.0.0
Expand All @@ -29,7 +28,6 @@ service-identity==24.1.0
six==1.16.0
sniffio==1.3.1
sortedcontainers==2.4.0
sqlparse==0.5.1
tomli==2.0.1
trio==0.26.2
trio-websocket==0.11.1
Expand Down
6 changes: 0 additions & 6 deletions django/src/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'tools',
'pages',
]
Expand Down Expand Up @@ -147,8 +146,3 @@
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 10
}
4 changes: 0 additions & 4 deletions django/src/core/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@
"""
from django.contrib import admin
from django.urls import path, include
from rest_framework import routers

router = routers.DefaultRouter()

urlpatterns = [
path('/', include(router.urls)),
path('admin/', admin.site.urls),
path('pages/', include('pages.urls')),
]

0 comments on commit 5034590

Please sign in to comment.