forked from OSQA/osqa
-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adds askbot/media/jslib/htmx.min.js
* bug fix in askbot/startup_procedures.py:test_custom_user_profile_tab * custom tab setup is working * adds option to specify a function that determines if a user can see the custom tab, e.g.: ASKBOT_CUSTOM_USER_PROFILE_TAB = { 'NAME': 'My Custom Tab', 'SLUG': 'my-custom-tab', 'CONTEXT_GENERATOR': 'myapp.views.my_custom_tab_context', 'USER_IS_AUTHORIZED_FUNC': lambda user: user.is_authenticated and user.is_staff }
- Loading branch information
1 parent
8f001cd
commit 3dc1838
Showing
3 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters