mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
📌 Update cacheops, filter, and Django consumption (#40)
This commit is contained in:
parent
e9b3a33e6c
commit
f7ffcb0c12
@ -7,7 +7,7 @@ import django_filters
|
||||
import yaml
|
||||
from django import forms
|
||||
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.db.models import Count
|
||||
from django.forms import BoundField
|
||||
@ -28,6 +28,10 @@ BOOLEAN_WITH_BLANK_CHOICES = (
|
||||
)
|
||||
|
||||
|
||||
class InvalidJSONInput(str):
|
||||
pass
|
||||
|
||||
|
||||
def parse_numeric_range(string, base=10):
|
||||
"""
|
||||
Expand a numeric range (continuous or not) into a decimal or
|
||||
|
@ -1,8 +1,8 @@
|
||||
Django>=3.0,<3.1
|
||||
django-cacheops==4.2
|
||||
django-cacheops==5.0.1
|
||||
django-cors-headers==3.2.1
|
||||
django-debug-toolbar==2.2
|
||||
django-filter==2.2.0
|
||||
django-filter==2.3.0
|
||||
django-mptt==0.11.0
|
||||
django-pglocks==1.0.4
|
||||
django-prometheus==2.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user