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 Gist supplements article available at https://serafin.io/article/slack-django-errors | |
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
// Admin Bro | |
const AdminBro = require('admin-bro'); | |
const AdminBroExpressjs = require('admin-bro-expressjs'); | |
const logger = require('./logger'); | |
AdminBro.registerAdapter(require('admin-bro-mongoose')); | |
module.exports = function(app) { | |
const adminBroSettings = app.get('adminBro'); | |
const adminBroRootPath = |