-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds AdminConfig
to override app_title, logo_url in the templates.
#374
Adds AdminConfig
to override app_title, logo_url in the templates.
#374
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest creating another class, AdminConfig
, and a method get_admin_config
. What do you think?
I'm working on it |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #374 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 72 72
Lines 5559 5568 +9
=========================================
+ Hits 5559 5568 +9
☔ View full report in Codecov by Sentry. |
AdminConfig
to override app_title, logo_url in the templates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your changes look great. Please add get_admin_config
to auth_provider and include a test case for it in test_auth. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, Thank you @hasansezertasan
Check out the
changed files
, there is a good example.Resolves: #349