You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/03/30 21:32:52 UTC
[airavata-django-portal] branch develop updated: docs:
active_prefixes can be regexes
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/develop by this push:
new 1349921 docs: active_prefixes can be regexes
1349921 is described below
commit 134992155920e6b5a531cb665aac9b4cee405dd6
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Mar 30 17:32:36 2021 -0400
docs: active_prefixes can be regexes
---
docs/dev/new_django_app.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/dev/new_django_app.md b/docs/dev/new_django_app.md
index 4c8bf21..a82600d 100644
--- a/docs/dev/new_django_app.md
+++ b/docs/dev/new_django_app.md
@@ -75,7 +75,9 @@ properties:
highlight the currently active nav item in the left side navigation bar. For
example, let's say the app's base url is "/myapp" and urls belonging to the
"projects" nav item are of the form "/myapp/projects/`<project_id>`" and
- "/myapp/new-project". Then you would set _active_prefixes_ to `["projects", "new-project"]`.
+ "/myapp/new-project". Then you would set _active_prefixes_ to
+ `["projects", "new-project"]`. These strings can also be [regular
+ expressions](https://docs.python.org/3/library/re.html#regular-expression-syntax).
### Add AppConfig to INSTALLED_APPS