📌 Update cacheops, filter, and Django consumption (#40)

This commit is contained in:
Kyler 2020-08-05 15:01:33 -05:00 committed by GitHub
parent e9b3a33e6c
commit f7ffcb0c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import django_filters
import yaml import yaml
from django import forms from django import forms
from django.conf import settings from django.conf import settings
from django.contrib.postgres.forms.jsonb import JSONField as _JSONField, InvalidJSONInput from django.contrib.postgres.forms.jsonb import JSONField as _JSONField
from django.core.exceptions import MultipleObjectsReturned from django.core.exceptions import MultipleObjectsReturned
from django.db.models import Count from django.db.models import Count
from django.forms import BoundField from django.forms import BoundField
@ -28,6 +28,10 @@ BOOLEAN_WITH_BLANK_CHOICES = (
) )
class InvalidJSONInput(str):
pass
def parse_numeric_range(string, base=10): def parse_numeric_range(string, base=10):
""" """
Expand a numeric range (continuous or not) into a decimal or Expand a numeric range (continuous or not) into a decimal or

View File

@ -1,8 +1,8 @@
Django>=3.0,<3.1 Django>=3.0,<3.1
django-cacheops==4.2 django-cacheops==5.0.1
django-cors-headers==3.2.1 django-cors-headers==3.2.1
django-debug-toolbar==2.2 django-debug-toolbar==2.2
django-filter==2.2.0 django-filter==2.3.0
django-mptt==0.11.0 django-mptt==0.11.0
django-pglocks==1.0.4 django-pglocks==1.0.4
django-prometheus==2.0.0 django-prometheus==2.0.0