Smartmin was born out of the frustration of the Django admin site not being well suited to being exposed to clients. Smartmin aims to allow you to quickly build scaffolding which you can customize by using Django class based views.

It is very opininated in how it works, if you don’t agree, Smartmin may not be for you:

  • Permissions are used to gate access to each page, embrace permissions throughout and you’ll love this
  • CRUDL operations at the object level, that is, Create, Read, Update, Delete and List, permissions and views are based around this
  • URL automapping via the the CRUDL objects, this should keep things very very DRY
The full documentation can be found at:
The official source code repository is:
Built in Rwanda by Nyaruka Ltd:


The easiest and fastest way of downloading smartmin is from the cheeseshop:

% pip install smartmin

This will take care of installing all the appropriate dependencies as well.


To get started with smartmin, the following changes to your are needed:

# create the smartmin CRUDL permissions on all objects
  '*': ('create', # can create an object
        'read',   # can read an object, viewing it's details
        'update', # can update an object
        'delete', # can delete an object,
        'list'),  # can view a list of the objects

# assigns the permissions that each group should have, here creating an Administrator group with
# authority to create and change users
    "Administrator": ('auth.user.*',)

# set this if you want to use smartmin's user login
LOGIN_URL = '/users/login'

You’ll also need to add smartmin to your installed apps:

  # .. other apps ..


Finally, if you want to use the default smartmin views for managing users and logging in, you’ll want to add the smartmin.users app to your

urlpatterns = [
  # .. other patterns ..
  url(r'^users/', include('smartmin.users.urls')),

You can now sync your database and start the server:

% python migrate
% python runserver

And if you want to see a Smartmin view in action, check out smartmin’s user management pages for a demo that functionality by pointing your browser to:


From here you can create, update and list users on the system, all using standard smartmin views. The total code to create all this functionality is less than 30 lines of Python.


Smartmin will release major versions in step (or rather a bit behind) Django’s major releases. Version 1.11 actually works against Django 1.11, 1.10 and 1.9 - we hope to support the 3 most recent versions in each release. Smartmin is used in quite a few of our projects, so we don’t rock the boat too much, even in major releases. That said, we don’t guarantee that major releases always be backwards compatible.

At the onset of each new Django version we will upgrade Twitter Bootstrap to the current version. Currently for 1.11, which targets Django 1.11, that means Twitter Bootstrap 3. Note that some of our screenshots are a bit outdated, our standard views now use Bootstrap styling, not the more Django admin looking pages shown in our docs. (PRs accepted to fix this!)

Indices and tables