Remove REST API
This commit is contained in:
parent
e3b9a5e660
commit
c31a3718d4
@ -51,7 +51,6 @@ DJANGO_APPS = [
|
|||||||
THIRD_PARTY_APPS = [
|
THIRD_PARTY_APPS = [
|
||||||
"crispy_forms",
|
"crispy_forms",
|
||||||
"crispy_bootstrap5",
|
"crispy_bootstrap5",
|
||||||
"rest_framework",
|
|
||||||
"django_filters",
|
"django_filters",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -208,17 +207,6 @@ CRISPY_TEMPLATE_PACK = "bootstrap5"
|
|||||||
LOGIN_REDIRECT_URL = "/"
|
LOGIN_REDIRECT_URL = "/"
|
||||||
LOGOUT_REDIRECT_URL = "/"
|
LOGOUT_REDIRECT_URL = "/"
|
||||||
|
|
||||||
# DRF setup
|
|
||||||
REST_FRAMEWORK = {
|
|
||||||
"DEFAULT_PERMISSION_CLASSES": [
|
|
||||||
"rest_framework.permissions.IsAuthenticated",
|
|
||||||
],
|
|
||||||
"DEFAULT_AUTHENTICATION_CLASSES": [
|
|
||||||
"rest_framework.authentication.SessionAuthentication",
|
|
||||||
"rest_framework.authentication.BasicAuthentication",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
|
|
||||||
# Strip payment config
|
# Strip payment config
|
||||||
STRIPE_SECRET_KEY = config("STRIPE_SECRET_KEY", default="")
|
STRIPE_SECRET_KEY = config("STRIPE_SECRET_KEY", default="")
|
||||||
STRIPE_PUBLISHABLE_KEY = config("STRIPE_PUBLISHABLE_KEY", default="")
|
STRIPE_PUBLISHABLE_KEY = config("STRIPE_PUBLISHABLE_KEY", default="")
|
||||||
|
|||||||
@ -11,10 +11,6 @@ crispy-bootstrap5==0.7 # https://github.com/django-crispy-forms/crispy-bootstra
|
|||||||
django-filter==23.5 # https://github.com/carltongibson/django-filter
|
django-filter==23.5 # https://github.com/carltongibson/django-filter
|
||||||
django-modeltranslation==0.18.11 # https://github.com/Buren/django-modeltranslation
|
django-modeltranslation==0.18.11 # https://github.com/Buren/django-modeltranslation
|
||||||
|
|
||||||
# Django REST Framework
|
|
||||||
djangorestframework==3.14.0 # https://github.com/encode/django-rest-framework
|
|
||||||
django-cors-headers==3.13.0 # https://github.com/adamchainz/django-cors-headers
|
|
||||||
|
|
||||||
# PDF generator
|
# PDF generator
|
||||||
reportlab==4.0.4
|
reportlab==4.0.4
|
||||||
xhtml2pdf==0.2.15
|
xhtml2pdf==0.2.15
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user