|
@@ -50,6 +50,7 @@ INSTALLED_APPS = [
|
|
|
"django.contrib.messages",
|
|
|
"django.contrib.staticfiles",
|
|
|
"django.contrib.sites",
|
|
|
+ "django_filters",
|
|
|
"django_extensions",
|
|
|
"markdownify.apps.MarkdownifyConfig",
|
|
|
"taggit",
|
|
@@ -122,6 +123,7 @@ AUTHENTICATION_BACKENDS = [
|
|
|
REST_FRAMEWORK = {
|
|
|
"DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.IsAuthenticated",),
|
|
|
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",
|
|
|
+ 'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'],
|
|
|
"PAGE_SIZE": 100,
|
|
|
}
|
|
|
|