Skip to content

Commit

Permalink
Add Arches References as an installed app #36
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn committed Jul 31, 2024
1 parent b409e66 commit 3d7e6a3
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 102 deletions.
1 change: 1 addition & 0 deletions arches_lingo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
"django_hosts",
"arches",
"arches.app.models",
"arches_references",
"arches.management",
"guardian",
"captcha",
Expand Down
3 changes: 2 additions & 1 deletion arches_lingo/urls.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from django.conf import settings
from django.conf.urls.static import static
from django.conf.urls.i18n import i18n_patterns
from django.urls import include, path
from django.urls import include, path, re_path

from arches_lingo.views import ConceptTreeView

urlpatterns = [
path("concept_trees/", ConceptTreeView.as_view(), name="concept_trees"),
re_path(r"^", include("arches_references.urls")),
]

# Ensure Arches core urls are superseded by project-level urls
Expand Down
Loading

0 comments on commit 3d7e6a3

Please sign in to comment.