This commit is contained in:
j 2021-08-03 14:38:28 +02:00
parent 066d273e10
commit b1834520bd
2 changed files with 2 additions and 2 deletions

View file

@ -1009,7 +1009,7 @@
{
"id": "tags",
"title": "Tags",
"canAddAnnotations": {"member": true, "firend": true, "staff": true, "admin": true},
"canAddAnnotations": {"member": true, "friend": true, "staff": true, "admin": true},
"item": "Tag",
"autocomplete": true,
"overlap": true,

View file

@ -92,7 +92,7 @@ urlpatterns += [
if settings.LOCAL_URLPATTERNS:
patterns = []
for pattern, fn in settings.LOCAL_URLPATTERNS:
if isinstnace(fn, 'str'):
if isinstance(fn, str):
m, f = fn.rsplit('.', 1)
try:
m = importlib.import_module(m)