Modern theme for Django admin interface

Related tags

django django-admin
Overview

Django Suit

Modern theme for Django admin interface.

Django Suit is alternative theme/skin/extension for Django administration interface.

License

Docs & Support

Changelog

Note: Django Suit v2.0 is in active development and not yet ready for production use.

Read more here: Todo: Add issue refernce

Contributing

See Contributing documentation

Build Status

Django Suit uses Travis CI to perform tests on different Django and Python versions.

Tested using Python: 2.7-3.4 and PyPy. Django: 1.9+ and Django Suit v2.0 alpha:

Build Status - v2 branch Build Status - develop branch

Preview

https://cloud.githubusercontent.com/assets/445304/12699480/3eee898e-c7c5-11e5-931c-ba1b0cabdecb.png

alt: Django Suit Preview :target: http://v2.djangosuit.com/admin/
Issues
  • Django Suit rewrite on Bootstrap 3

    Django Suit rewrite on Bootstrap 3

    Few days ago i started Django suit rewrite on Bootstrap 3 and i will keep posting updates in this issue.

    Few previous notes about BS3 you can see here: https://github.com/darklow/django-suit/issues/134#issuecomment-39536028

    In nearest time i will push bs3 branch to github and you will be able to test it out. However it will be very early stage and it will be not ready for production for a while.

    Currently i am rewriting DS using Django 1.7 rc2 and hopefully i will be able to support both Django 1.6 and 1.7 version.

    New features

    • Two menu variations: Horizontal or vertical
    • Two color themes: Dark / Light theme
    • Configurable, properly aligned multi-column forms/fieldsets
    • and many more

    Sneak preview

    Few of new Django Suit design drafts (work in progress)

    suit2-vertical-dark

    Horizontal menu:

    suit2-horizontal-dark

    suit2-horizontal-light

    feature 
    opened by darklow 79
  • Move to Bootstrap 3

    Move to Bootstrap 3

    You should move to Bootstrap 3 with care. It is changed.

    opened by kharazi 31
  • Regression: SortableTabularInline re-ordering not persisting to db in v0.2.4

    Regression: SortableTabularInline re-ordering not persisting to db in v0.2.4

    This works in v0.2.3, and I'm guessing this commit may be the issue:

    https://github.com/darklow/django-suit/commit/435afaa7a0b0bab5cc0143557fdd312ea67f9f5d

    Full compare between versions: https://github.com/darklow/django-suit/compare/8f98158aa8c61dac11b03eb3e04fd6f989f531d7...22fbc800dcc069aade735d69d6ef164d31b35693

    Cheers :beers:

    opened by adamJLev 25
  • Date and Datetime field not show calendar

    Date and Datetime field not show calendar

    Django 1.9.2 but i've tried to downgrade, i've the same issue. On DateField i can see the "today" link and the calendar ICON but on click not show calendar. I've tryed with and without Suit widget with the same result. Disabling suit it works normally.

    image

    image

    The html is loaded correectly but the JS is not "clickable" on the icon. if i call openCalendar() it works. image

    opened by gibosler 24
  • Warnings with 1.8 regarding settings.py templates

    Warnings with 1.8 regarding settings.py templates

    I am getting the following issue:

    System check identified some issues:
    
    WARNINGS:
    ?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the \
    TEMPLATES dictionary takes precedence. You must put the values of the following settings into \
    your default TEMPLATES dict: TEMPLATE_CONTEXT_PROCESSORS.
    

    How can I declare my templates, my current settings.py are as follow:

    TEMPLATES = [
        {
            'BACKEND': 'django.template.backends.django.DjangoTemplates',
            'DIRS': ['/home/mexicofan/mexicofan2015/static/templates'],
            'APP_DIRS': True,
            'OPTIONS': {
                'context_processors': [
                    'django.template.context_processors.debug',
                    'django.template.context_processors.request',
                    'django.contrib.auth.context_processors.auth',
                    'django.contrib.messages.context_processors.messages',
                ],
            },
        },
    ]
    

    ....

    from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP
    
    TEMPLATE_CONTEXT_PROCESSORS = TCP + (
            'django.core.context_processors.request',
    )
    

    Also for some reason the admin templates are not shown on my admin but the regular site do.

    opened by Jzarecta 18
  • Change app name feature

    Change app name feature

    Add a config option to rename apps, e.g.

    SUIT_CONFIG = {
        ...
        'APP_NAMES': {
            'auth': "Users and Groups",
            'flatpages': "Static sites",
        },
        ...
    }
    
    feature 
    opened by jonashaag 17
  • django-mptt tree sortable

    django-mptt tree sortable

    I tried to follow the doc example for django-mptt tree sortable

    model.py

        class FooterLink(MPTTModel):
            link_text = models.CharField(max_length=120, blank=True,
                            help_text=_('With this field you can overwrite the title'
                                        ' that is displayed in the footer menu.'))
            page_link = PageField(null=True, blank=True,
                             related_name='footer_links')
            parent = TreeForeignKey('self', null=True,
                                    blank=True, related_name='children',
                                    verbose_name=_('Parent Link'))
            order = models.PositiveIntegerField()
    
            class MPTTMeta:
                order_insertion_by = ['order']
    
            def save(self, *args, **kwargs):
                super(FooterLink, self).save(*args, **kwargs)
                FooterLink.objects.rebuild()
    
            def __unicode__(self):
                if self.link_text:
                    return self.link_text
                if page_link:
                    page_link.get_page_title()
                return u'%s %s' % (self._meta.verbose_name.title(), self.pk)
    

    admin.py

        from django.contrib import admin
    
        from suit.admin import SortableModelAdmin
        from mptt.admin import MPTTModelAdmin
    
        from .models import FooterLink
    
        class FooterLinkAdmin(MPTTModelAdmin, SortableModelAdmin):
            mptt_level_indent = 20
            list_display = ('link_text', 'page_link')
            sortable = 'order'
    
        admin.site.register(FooterLink, FooterLinkAdmin)
    

    But its not being displayed correctly in django admin

    screen shot 2013-09-10 at 14 32 04

    Please Help

    [django-suit==0.2.4]

    opened by mishbahr 17
  • CSS not applied to admin panel.

    CSS not applied to admin panel.

    Hello Group,

    I finally got the admin panel sort of working. The css does not seem to be applied. Any clues?

    I created a demo user

    user: demo password: demo

    http://162.243.201.237/admin

    screen shot 2016-06-01 at 11 27 11 am

    opened by RLJMedia 14
  • Sortable issues

    Sortable issues

    Hi darklow,

    Thanks for django-suit! It's a nice admin theme and I appreciate your approach using Bootstrap. I am glad you're working on the Sortable feature, but unfortunately found two issues:

    • Using SortableTabularInline for inlines, if the main object does not extend SortableModelAdmin, the following exception occurs while editing an object:

    AttributeError: type object 'ModelForm' has no attribute 'Meta'

    in suit/admin.pu r.54: self.form.Meta.widgets[self.sortable] = SortableListForm.Meta.widgets[

    • Using SortableTabularInline with extra inlines (extra > 0), and submitting an object with empty 'extra' inlines:

    Form validation error on empty inline objects.

    .. probably because the SortableTabularInline sets the sortable field?

    Hope you can take a look at this!

    opened by woutor 14
  • I see the demo,How the custom view show on?

    I see the demo,How the custom view show on?

    First thanks a lot to develop this repository!I have a question that how can I build custom view in django-suit?I see the demo have the example.But I don't know the source code to consult on,Can you help me?

    Thanks again!

    opened by hebijiandai 14
  • V2 forks on bootstrap5 : need help

    V2 forks on bootstrap5 : need help

    Hello,

    I've done the migration of django-suit v2 to django 3.2: https://github.com/pulse-mind/django-suit/tree/v2

    And I started a branch from my v2 to migrate to boostrap5 but I am not sure to have enough competencies on bootstrap kernel to do the migration to the end. It works but there are some problems with styles... https://github.com/pulse-mind/django-suit/tree/bootstrap5 It could become the django-suit v3 :D

    Is there someone who can help ?

    Best regards, Fred

    opened by pulse-mind 0
  • Bump django from 1.10.5 to 2.2.24 in /demo

    Bump django from 1.10.5 to 2.2.24 in /demo

    Bumps django from 1.10.5 to 2.2.24.

    Commits
    • 2da029d [2.2.x] Bumped version for 2.2.24 release.
    • f27c38a [2.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.
    • 053cc95 [2.2.x] Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs'...
    • 6229d87 [2.2.x] Confirmed release date for Django 2.2.24.
    • f163ad5 [2.2.x] Added stub release notes and date for Django 2.2.24.
    • bed1755 [2.2.x] Changed IRC references to Libera.Chat.
    • 63f0d7a [2.2.x] Refs #32718 -- Fixed file_storage.test_generate_filename and model_fi...
    • 5fe4970 [2.2.x] Post-release version bump.
    • 61f814f [2.2.x] Bumped version for 2.2.23 release.
    • b8ecb06 [2.2.x] Fixed #32718 -- Relaxed file name validation in FileField.
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • RTL support

    RTL support

    my Django-admin is in the Arabic language, and the Django-suit is just not compatible with RTL languages

    opened by zzainoo 0
  • Any V1 forks that support Django 3x?

    Any V1 forks that support Django 3x?

    Hi,

    Are there any version 1 forks that support Django 3.1 or 3.2? It was a great project, it can be good to list maintained forks here.

    opened by yigitguler 3
  • Migrate to Django 3.2

    Migrate to Django 3.2

    Migration Django 3.1 -> 3.2 Update tests to add more django versions Remove pypy from tests

    opened by pulse-mind 0
  • Template Issue Filter position v2

    Template Issue Filter position v2

    How to fix that? Django 3.1.6 , template v2

    opened by pythonvelosiped 4
  • Django Admin Hide Superuser User

    Django Admin Hide Superuser User

    I have 2 superusers in my django admin site. I want to do that second superadmin and other staff members cant see me in the list of users.

    Django Admin Hide A User Whose username = chetan I am using 3.13 version of django.

    I got answer at this link but it didnt worked at all. https://stackoverflow.com/questions/44229058/django-is-there-any-way-to-hide-superusers-from-the-user-list

    opened by chetan-pixel 1
  • when use npm run build,get a error

    when use npm run build,get a error

    ERROR in ./node_modules/[email protected]@element-ui/src/utils/vue-popper.js Module build failed: Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:592:3) at tryReadSync (fs.js:366:20) at Object.readFileSync (fs.js:403:19) at ConfigChainBuilder.addConfig (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-core/lib/transformation/file/options/build-config-chain.js:146:32) at ConfigChainBuilder.findConfigs (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-core/lib/transformation/file/options/build-config-chain.js:102:30) at buildConfigChain (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-core/lib/transformation/file/options/build-config-chain.js:61:13) at OptionManager.init (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-core/lib/transformation/file/options/option-manager.js:354:58) at File.initOptions (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-core/lib/transformation/file/index.js:212:65) at new File (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-core/lib/transformation/file/index.js:135:24) at Pipeline.transform (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-core/lib/transformation/pipeline.js:46:16) at transpile (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-loader/lib/index.js:50:20) at Object.module.exports (/home/api_automation_test-master/frontend/node_modules/[email protected]@babel-loader/lib/index.js:173:20) @ ./node_modules/[email protected]@babel-loader/lib!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./src/views/project/api/FestTest.vue 19:17-59 @ ./src/views/project/api/FestTest.vue @ ./src/routes.js @ ./src/main.js

    Build complete.

    Tip: built files are meant to be served over an HTTP server. Opening index.html over file:// won't work.

    but can use "python3 manage.py runserver 0.0.0.0:8000" to start the server.....but the server create user,cannot login,auth password wrong.

    opened by xiaochenr1981 0
  • Update V2 with bootstrap 4.5.x, bug corrected on horizontal filters, upgrade django version and more

    Update V2 with bootstrap 4.5.x, bug corrected on horizontal filters, upgrade django version and more

    In this pull request I've done a lot of improvements :

    upgrade to bootstrap 4.5.x (with badges) upgrade to django 2.2.x upgrade node dependencies upgrade gulp script close #768 close #769 close #628 close #746 close #704 close #657 close #624 Work for #475

    Please accept this pull request

    opened by pulse-mind 9
  • Missing arrow on select with suitv2

    Missing arrow on select with suitv2

    The arrow on select is not displayed This is the css provided by suit.css:1186

    .custom-select, fieldset select:not([multiple="multiple"]) {
        display: inline-block;
        max-width: 100%;
        height: calc(2.5rem - 2px);
        padding: 0.375rem 1.75rem 0.375rem 0.75rem;
        padding-right: 0.75rem \9;
        color: #55595c;
        vertical-align: middle;
        background: #fff url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E) no-repeat right 0.75rem center;
        background-image: none \9;
        background-size: 8px 10px;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0.25rem;
        -moz-appearance: none;
        -webkit-appearance: none;
    

    appearance: none is hidding the arrow. I guess the background is trying to defined a SVG image but it is not displayed.

    It looks like the encoding is not working properly I think the problem is due to the # that is not encoded properly, it should be %23

    But then it displays a double arrow (up/down) instead of a simple arrow (down) image

    opened by pulse-mind 0
Owner
Kaspars Sprogis
Entrepreneur, developer and skydiving photographer.
Kaspars Sprogis
A cool, modern and responsive django admin application based on bootstrap 5

django-baton A cool, modern and responsive django admin application based on bootstrap 5 Documentation: readthedocs Live Demo Now you can try django-b

Otto srl 494 Oct 19, 2021
Extends the Django Admin to include a extensible dashboard and navigation menu

django-admin-tools django-admin-tools is a collection of extensions/tools for the default django administration interface, it includes: a full feature

Django Admin Tools 638 Oct 11, 2021
A Django app for easily adding object tools in the Django admin

Django Object Actions If you've ever tried making admin object tools you may have thought, "why can't this be as easy as making Django Admin Actions?"

Chris Chang 406 Oct 15, 2021
WordPress look and feel for Django administration panel

Django WP Admin WordPress look and feel for Django administration panel. Features WordPress look and feel New styles for selector, calendar and timepi

Maciej Marczewski 259 Sep 13, 2021
Django Semantic UI admin theme

Django Semantic UI admin theme A completely free (MIT) Semantic UI admin theme for Django. Actually, this is my 3rd admin theme for Django. The first

Alex 33 Oct 18, 2021
Responsive Theme for Django Admin With Sidebar Menu

Responsive Django Admin If you're looking for a version compatible with Django 1.8 just install 0.3.7.1. Features Responsive Sidebar Menu Easy install

Douglas Miranda 812 Sep 29, 2021
Material design for django administration

Django Material Administration Quick start pip install django-material-admin Add material.admin and material.admin.default to your INSTALLED_APPS sett

Anton 222 Oct 18, 2021
An improved django-admin-tools dashboard for Django projects

django-fluent-dashboard The fluent_dashboard module offers a custom admin dashboard, built on top of django-admin-tools (docs). The django-admin-tools

django-fluent 295 Sep 9, 2021
Extendable, adaptable rewrite of django.contrib.admin

django-admin2 One of the most useful parts of django.contrib.admin is the ability to configure various views that touch and alter data. django-admin2

Jazzband 1.1k Oct 19, 2021
An administration website for Django

yawd-admin, a django administration website yawd-admin now has a live demo at http://yawd-admin.yawd.eu/. Use demo / demo as username & passowrd. yawd

Pantelis Petridis 139 Jul 27, 2021
Legacy django jet rebooted , supports only Django 3

Django JET Reboot Rebooting the original project : django-jet. Django Jet is modern template for Django admin interface with improved functionality. W

null 41 Oct 9, 2021
Modern responsive template for the Django admin interface with improved functionality. We are proud to announce completely new Jet. Please check out Live Demo

Django JET Modern template for Django admin interface with improved functionality Attention! NEW JET We are proud to announce completely new Jet. Plea

Geex Arts 3.2k Oct 18, 2021
fastapi-admin is a fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

fastapi-admin is a fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

fastapi-admin 930 Oct 25, 2021
Django Smuggler is a pluggable application for Django Web Framework that helps you to import/export fixtures via the automatically-generated administration interface.

Django Smuggler Django Smuggler is a pluggable application for Django Web Framework to easily dump/load fixtures via the automatically-generated admin

semente 359 Sep 28, 2021
Extendable, adaptable rewrite of django.contrib.admin

django-admin2 One of the most useful parts of django.contrib.admin is the ability to configure various views that touch and alter data. django-admin2

Jazzband 1.1k Oct 22, 2021
Jet Bridge (Universal) for Jet Admin – API-based Admin Panel Framework for your application

Jet Bridge for Jet Admin – Admin panel framework for your application Description About Jet Admin: https://about.jetadmin.io Live Demo: https://app.je

Jet Admin 1.1k Oct 25, 2021
Visually distinguish environments in Django Admin

django-admin-env-notice Visually distinguish environments in Django Admin. Based on great advice from post: 5 ways to make Django Admin safer by hakib

Yuri Shikanov 228 Oct 15, 2021
FastAPI Admin Dashboard based on FastAPI and Tortoise ORM.

FastAPI ADMIN 中文文档 Introduction FastAPI-Admin is a admin dashboard based on fastapi and tortoise-orm. FastAPI-Admin provide crud feature out-of-the-bo

long2ice 927 Oct 22, 2021
Jazzy theme for Django

Django jazzmin (Jazzy Admin) Drop-in theme for django admin, that utilises AdminLTE 3 & Bootstrap 4 to make yo' admin look jazzy Installation pip inst

David Farrington 813 Oct 23, 2021