forked from 0x2620/pandora
typos
This commit is contained in:
parent
066d273e10
commit
b1834520bd
2 changed files with 2 additions and 2 deletions
|
@ -1009,7 +1009,7 @@
|
||||||
{
|
{
|
||||||
"id": "tags",
|
"id": "tags",
|
||||||
"title": "Tags",
|
"title": "Tags",
|
||||||
"canAddAnnotations": {"member": true, "firend": true, "staff": true, "admin": true},
|
"canAddAnnotations": {"member": true, "friend": true, "staff": true, "admin": true},
|
||||||
"item": "Tag",
|
"item": "Tag",
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"overlap": true,
|
"overlap": true,
|
||||||
|
|
|
@ -92,7 +92,7 @@ urlpatterns += [
|
||||||
if settings.LOCAL_URLPATTERNS:
|
if settings.LOCAL_URLPATTERNS:
|
||||||
patterns = []
|
patterns = []
|
||||||
for pattern, fn in settings.LOCAL_URLPATTERNS:
|
for pattern, fn in settings.LOCAL_URLPATTERNS:
|
||||||
if isinstnace(fn, 'str'):
|
if isinstance(fn, str):
|
||||||
m, f = fn.rsplit('.', 1)
|
m, f = fn.rsplit('.', 1)
|
||||||
try:
|
try:
|
||||||
m = importlib.import_module(m)
|
m = importlib.import_module(m)
|
||||||
|
|
Loading…
Reference in a new issue