Usage

In your admin interface you now have Customadmin app with 4 models:

Custom Admin

As the name suggests this model is the core of this app, here you can customize the general aspect of the admin interface.

Branding

Branding: Set Branding. (default: Django Administration)

Branding link: Set Branding’s link. (ex. ‘/’ to redirect to the homepage) (default: No redirect)

Branding image: Set a logo to be displayed with or instead of the Branding. (default: No image)

Default: Set it if you want to enable this Custom Admin configuration.

View Option

View mode: This is the most important option. Set the interface that you prefer between 5 options:

————: Keep the default django admin interface with the options that you set in this configuration but you cannot use Custom App, Custom Model and Custom Link.

Use custom app system: Like ———— but you can use Custom App, Custom Model and Custom Link.

Use apps’ icon system: Apps in the admin homepage are shown as icons intead of a list of links to models.

Use apps and models icon system: Like Use apps’ icon system but models too are shown as icons instead of a list of links.

Use models’ icons system in index group models by app: Models are shown as icons grouped by app in the admin homepage.

Use models’ icons system in index ungroup models by app: Like Use models’ icons system in index group models by app but models are not grouped by app.

Use log sidebar: Check if you want the log sidebar in the admin homepage to be shown.

Autocomplete app: Uncheck if you want customadmin to hide the apps not defined in Custom App.

Autocomplete model: Uncheck if you want customadmin to hide the apps not defined in Custom Model.

Images

Default app image: Set an image that will replace the default app icon shown in the admin homepage. (this image will be applied to all apps, you can set different images per app in Custom App)

Default model image: Set an image that will replace the default model icon shown in the admin homepage. (this image will be applied to all models, you can set different images per model in Custom Model)

Style

Here you can change colors, font, font-size and so on to the admin interface. (default: if not changed it keeps django administration default style)

Code

Html head: Add extra code to the <head> tag. (ex. you can add some javascript)

Css code: Add extra css.

Use css code: if not checked the css code defined in Css code is disabled.

Custom App

twentytab-customadmin automatically creates one entry for each synchronized app.

You can modify the order in which apps are displayed in the admin homepage simply dragging and dropping them (thanks to twentytab-sortable)

change the Verbose app name

change the app’s icon image (only if you selected Use apps’ icon system or Use apps and models icon system in View Mode in your Custom Admin configuration)

or decide to hide this application from the admin homepage (only if Autocompelte App field in your Custom Admin configuration is unchecked).

Custom Model

Like Custom App you can modify the order in which models are displayed simply dragging and dropping them (thanks to twentytab-sortable)

change the model’s icon image (only if you selected one between Use apps and models icon system, Use models’ icons system in index group models by app or Use models’ icons system in index ungroup models by app in View Mode in your Custom Admin configuration).

In the end, differently from Custom App, if Autocompelte Model field in your Custom Admin configuration is unchecked then only models that you created here are shown.