Commit e64903ee authored by mike's avatar mike

Just need to add the search library in, then I'll delete the filter backend stuff in views.py

parent d2a34b57
Pipeline #4497 failed with stage
in 43 seconds
......@@ -268,6 +268,11 @@ REST_FRAMEWORK = {
# http://www.django-rest-framework.org/api-guide/throttling/#throttling
"DEFAULT_THROTTLE_CLASSES": ("rest_framework.throttling.AnonRateThrottle",),
"DEFAULT_THROTTLE_RATES": {"anon": "1000/day"},
'DEFAULT_FILTER_BACKENDS': [
#'url_filter.integrations.drf.URLFilterBackend', #url_filters
"django_filters.rest_framework.DjangoFilterBackend", #rest_framework.filters
"rest_framework.filters.OrderingFilter"
],
}
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment