Forge Pro


The staff toolbar is enabled for every user who is_staff.

Forge staff toolbar


Add forgestafftoolbar to your INSTALLED_APPS, and the {% stafftoolbar %} to your base template:

<!-- base.template.html -->
{% load stafftoolbar %}
<!doctype html>
<html lang="en">
    {% stafftoolbar %}

More specific settings can be found below.

Staff links are shown on the right-hand side of the toolbar and can be customzed. By default, it shows a link back to the Django admin:

from forgestafftoolbar import StaffToolbarLink

    StaffToolbarLink(text="Admin", url="admin:index"),

Container class

To make the toolbar better match your layout, you can change the classes via the template tag:

<!-- base.html -->
{% stafftoolbar outer_class="fixed bottom-0 w-full" inner_class="max-w-4xl mx-auto" %}

Tailwind CSS

This package is styled with Tailwind CSS, and pairs well with forge-tailwind.

If you are using your own Tailwind implementation, you can modify the "content" in your Tailwind config to include any Forge packages:

// tailwind.config.js
module.exports = {
  content: [
    // ...
  // ...

If you aren't using Tailwind, and don't intend to, open an issue to discuss other options.