Material design for django administration

Overview

pypi python django

Django Material Administration

https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/login.png

Quick start

pip install django-material-admin

  1. Add material.admin and material.admin.default to your INSTALLED_APPS setting instead of django.contrib.admin:
  • required
INSTALLED_APPS = (
    'material',
    'material.admin',

    'django.contrib.auth',
    ...
)
  1. Include the material templates URLconf in your project urls.py like this:
  • required
from django.contrib import admin
from django.urls import path

urlpatterns = [
    path('admin/', admin.site.urls),
]
  1. Register your models in admin.py.
from django.contrib.admin import ModelAdmin, register


from persons.models import Person

@register(Person)
class PersonAdmin(ModelAdmin):
    list_display = ('name', 'first_name', 'last_name')
  1. Add icon to the application in app.py and specify the app usage in __init__.py
https://materializecss.com/icons.html
  • optional

__init.py__

default_app_config = 'persons.apps.PersonsConfig'

apps.py

from django.apps import AppConfig


class PersonsConfig(AppConfig):
    name = 'persons'
    icon_name = 'person'
  1. Add icon to the MaterialModelAdmin in admin.py

Material icon's name sources:

https://materializecss.com/icons.html

https://material.io/resources/icons/?style=baseline

  • optional
from django.contrib.admin import ModelAdmin, register

from persons.models import Person


@register(Person)
class MaterialPersonAdmin(ModelAdmin):
    icon_name = 'person'
  1. Add Admin site configurations to settings.py file:
  • optional

MATERIAL_ADMIN_SITE = {
    'HEADER':  _('Your site header'),  # Admin site header
    'TITLE':  _('Your site title'),  # Admin site title
    'FAVICON':  'path/to/favicon',  # Admin site favicon (path to static should be specified)
    'MAIN_BG_COLOR':  'color',  # Admin site main color, css color should be specified
    'MAIN_HOVER_COLOR':  'color',  # Admin site main hover color, css color should be specified
    'PROFILE_PICTURE':  'path/to/image',  # Admin site profile picture (path to static should be specified)
    'PROFILE_BG':  'path/to/image',  # Admin site profile background (path to static should be specified)
    'LOGIN_LOGO':  'path/to/image',  # Admin site logo on login page (path to static should be specified)
    'LOGOUT_BG':  'path/to/image',  # Admin site background on login/logout pages (path to static should be specified)
    'SHOW_THEMES':  True,  #  Show default admin themes button
    'TRAY_REVERSE': True,  # Hide object-tools and additional-submit-line by default
    'NAVBAR_REVERSE': True,  # Hide side navbar by default
    'SHOW_COUNTS': True, # Show instances counts for each model
    'APP_ICONS': {  # Set icons for applications(lowercase), including 3rd party apps, {'application_name': 'material_icon_name', ...}
        'sites': 'send',
    },
    'MODEL_ICONS': {  # Set icons for models(lowercase), including 3rd party models, {'model_name': 'material_icon_name', ...}
        'site': 'contact_mail',
    }
}

video lessons:

  • PySchool
https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/pyself.png

Video instructions



  • Install Django
https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/material1.png


  • Install Django-material-admin
https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/material2.png


  • Register models for material administration interface
https://raw.githubusercontent.com/MaistrenkoAnton/django-material-admin/master/app/demo/screens/material3.png
Issues
  • Quick start don't work

    Quick start don't work

    I try install django-material-admin, but I don't understand what is the app "persons" ? Why need unregister User and Group models? Is it necessary? I can't go to 3 point.

    bug 
    opened by ovt00 36
  • [QUESTION] Configuring images and color through MATERIAL_ADMIN_SITE

    [QUESTION] Configuring images and color through MATERIAL_ADMIN_SITE

    I need to change the default profile picture to an image that I have locally. But I can't get the picture's path right and couldn't find the solution on other issues or the README.

    Also, I am having problems changing the background color. The README says that I have to specify a CSS color, but It doesn't change neither using the color's name or the color's hex notation.

    Can you help me? What am I doing wrong?

    code:

    STATIC_URL = '/static/'
    LOCALE_PATHS = (PROJECT_DIR + '/locale', )
    
    MATERIAL_ADMIN_SITE = {
        ...
        'PROFILE_PICTURE': 'img/proj_trans_l.png',
        'MAIN_BG_COLOR': '#000000',
        ...
    }
    
    opened by andre-filho 14
  • django-material-admin having trouble with Django==3.2 release

    django-material-admin having trouble with Django==3.2 release

    It seems that django-material-admin is having trouble with Django==3.2 release

    Error that I am receiving is as following:

    /var/www/html/gesi/backend/src/gesi/settings.py changed, reloading.
    Watching for file changes with StatReloader
    Exception in thread django-main-thread:
    Traceback (most recent call last):
      File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
        self.run()
      File "/usr/lib/python3.6/threading.py", line 864, in run
        self._target(*self._args, **self._kwargs)
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/utils/autoreload.py", line 64, in wrapper
        fn(*args, **kwargs)
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 110, in inner_run
        autoreload.raise_last_exception()
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/utils/autoreload.py", line 87, in raise_last_exception
        raise _exception[1]
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
        autoreload.check_errors(django.setup)()
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/utils/autoreload.py", line 64, in wrapper
        fn(*args, **kwargs)
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
        apps.populate(settings.INSTALLED_APPS)
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/apps/registry.py", line 91, in populate
        app_config = AppConfig.create(entry)
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/apps/config.py", line 255, in create
        return app_config_class(app_name, app_module)
      File "/var/www/html/gesi/backend/src/env/lib/python3.6/site-packages/django/apps/config.py", line 39, in __init__
        "The app label '%s' is not a valid Python identifier." % self.label
    django.core.exceptions.ImproperlyConfigured: The app label 'material.admin' is not a valid Python identifier.
    

    Any reason why that is happening? Thank you in advance........

    bug enhancement 
    opened by Vulum 8
  • list display table broken with date_hierarchy

    list display table broken with date_hierarchy

    If using date_hierarchy in ModelAdmin the table will be displayed on the right and the page will not be usable any more.

    image

    bug 
    opened by MounirMesselmeni 8
  • Some Spanish Translations Missing

    Some Spanish Translations Missing

    Hi Anton, for example, the button All Actions hasn't has a translation in Spanish. Also the Tool's Panel, and so on. I've override the .po file from my project Django but that will be erased when i install/upgrade django.

    Any suggestions for adding that Strings to a custom Translation into my project?

    Thanks in advance

    enhancement 
    opened by h3adHunter 4
  • Add more improvements about i18n and l10n

    Add more improvements about i18n and l10n

    • Add more improvements about i18n.
    • Update Spanish strings without be translated.
    • Update Spanish Argentina strings without be translated.
    opened by macagua 4
  • 1.6.* throwing django error on runserver

    1.6.* throwing django error on runserver

    Hi Anton, im trying to update my django-material-admin version from 1.5.1 to 1.6.10.

    The steps were:

    • install the newest version with pip.
    • added material.admin and material.admin.default to INSTALLED_APPS setting instead of django.contrib.admin into my settings.py file
    • add the path('admin/', admin.site.urls), to urlpatterns in my urls.py file
    • change the imports from material.admin.decorators or options to django.contrib.admin import ModelAdmin, register into my admin.py files.

    When i hit the command python manage.py runserver the error im getting is the following:

    Watching for file changes with StatReloader Performing system checks...

    Exception in thread django-main-thread: Traceback (most recent call last): File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/utils.py", line 66, in getitem return self._engines[alias] KeyError: 'django'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run() File "/usr/lib/python3.5/threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/utils/autoreload.py", line 54, in wrapper fn(*args, **kwargs) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run self.check(display_num_errors=True) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/core/management/base.py", line 390, in check include_deployment_checks=include_deployment_checks, File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/core/management/base.py", line 377, in _run_checks return checks.run_checks(**kwargs) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/core/checks/registry.py", line 72, in run_checks new_errors = check(app_configs=app_configs) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/contrib/admin/checks.py", line 79, in check_dependencies for engine in engines.all(): File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/utils.py", line 90, in all return [self[alias] for alias in self] File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/utils.py", line 90, in return [self[alias] for alias in self] File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/utils.py", line 81, in getitem engine = engine_cls(params) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/backends/django.py", line 25, in init options['libraries'] = self.get_templatetag_libraries(libraries) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/backends/django.py", line 43, in get_templatetag_libraries libraries = get_installed_libraries() File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/backends/django.py", line 108, in get_installed_libraries for name in get_package_libraries(pkg): File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/django/template/backends/django.py", line 121, in get_package_libraries module = import_module(entry[1]) File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 986, in _gcd_import File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 673, in _load_unlocked File "", line 669, in exec_module File "", line 775, in get_code File "", line 735, in source_to_code File "", line 222, in call_with_frames_removed File "/home/j0t4/Desktop/gaia/proyectos-externos/donde-comemos/donde-comemos-be/lib/python3.5/site-packages/material/admin/templatetags/material.py", line 43 return mark_safe(f""" {name[0]}" type="checkbox" {checked}> """)

                   ^
    

    SyntaxError: invalid syntax

    Same thing is happening with 1.6.9.

    Regards!

    opened by h3adHunter 4
  • Third party integrations not registered in admin

    Third party integrations not registered in admin

    Great work on materializing Django admin, it's brilliant! I am quite intensely using it in one of my projects and the result is great.

    I have found the following issue with third party packages, and I am not sure I am doing something wrong or if it is an actual issue. If you can confirm this behaviour is incorrect, I am happy to try to fix it and submit a PR with it.

    Issue

    Third party packages using admin are not displayed in the index of admin, and their admin views cannot be accessed. This can be reproduced with a very simple setup:

    • pip install django django-material-admin django-invitations
    • Add a basic settings file and add the following apps:
    INSTALLED_APPS = [
        'material.admin',
        'material.contrib.admin',
        'material.contrib.sites',
        ...
        'invitations',
        ...
    ]
    
    • Add the following to urls.py:
    urlpatterns = [
        path('admin/', include('material.admin.urls')),
        path('invitations/', include('invitations.urls', namespace='invitations')),
        ...
    ]
    
    • Run the server.
    • The admin index won't display the Invitation model, which is registered by the django-invitations package.
    • This same setup works removing material.admin and adding django.contrib.admin instead.

    Possible cause

    I believe this is happening because django-material-admin uses its own implementation of AdminSite. Even if it inherits from AdminSite, the package only uses material.admin.sites.site to register admin models. And the recommendation for custom admin views is to use material.admin.decorators.register, which also uses material.admin.sites.site.

    The problem is that third party packages will always use django.contrib.admin.site to register their admin models. As django-material-admin is not using this main site, it does not display all their admin views.

    (Potential) solution

    I believe that simply removing material.admin.sites.site and adding the following in the settings file would work.

    from django.contrib.auth.apps import AuthConfig
    AdminConfig.default_site = 'material.admin.sites.MaterialAdminSite'
    

    This should also work with third party packages because Django would be hooked to the custom MaterialAdminSite and all the apps that register to admin will use this one.

    bug 
    opened by hasier 4
  • Admin TabularInline does not show the delete checkbox

    Admin TabularInline does not show the delete checkbox

    Hello! Very nice looking Django admin theme! Thank you for your hard work.

    I have found that the Tabular Inline does not show the delete checkbox, I seem to have my configurations correctly

    class ChoiceInline(admin.TabularInline):
        model = Choice
        extra = 2
        fields = ['choice_text', 'votes']
        readonly_fields = ['votes']
    
    
    @register(Question)
    class QuestionAdmin(MaterialModelAdmin):
        icon_name = 'question_answer'
        list_display = ('question_text', 'choices_count', 'total_votes',
                        'pub_date')
        search_fields = ['question_text']
        inlines = [ChoiceInline]
    
        def get_changeform_initial_data(self, request):
            return {'pub_date': timezone.now()}
    

    But no delete checkbox image

    However, If I change to StackedInline the delete works image

    Am I doing something wrong? or have I found a bug?

    bug 
    opened by Luis-Palacios 4
  • Thirdparty integrations

    Thirdparty integrations

    Do you plan making(describing) integration with some other thirdparty packages like parler, filer or any tree-model?

    question 
    opened by cyberbudy 3
  • Fix date handling

    Fix date handling

    In the datepicker the options aren't very well described in the documentation. To get the following behavior:

    • Parse the date input in the text field
    • on open, use this date and navigate the calendar to it, displaying its value

    One has to not set the defaultDate option and set the setDefaultDate option. This is the intuitive behaviour for a date picker.

    opened by melvyn-oviavo 0
  • LookupError: No installed app with label 'admin'.

    LookupError: No installed app with label 'admin'.

    Installed material-admin like the Quick start said. runserver runs fine. I can view and work with the admin site. But makemigrations throws this error "LookupError: No installed app with label 'admin'." over this line in urls.py, path('admin/', admin.site.urls), Added material and material.admin in installed apps and imported admin from django.contrib. So what should I do?

    opened by imtiazAyon 0
  • Uncaught ReferenceError: jQuery is not defined

    Uncaught ReferenceError: jQuery is not defined

    Hi everyone, I got the error in console with django-material-admin==1.7.16

    jquery_not_define

    Would anyone help me how to solve it?

    opened by tho-can-code 0
  • Bump django from 3.2 to 3.2.5

    Bump django from 3.2 to 3.2.5

    Bumps django from 3.2 to 3.2.5.

    Commits
    • 0eca7a6 [3.2.x] Bumped version for 3.2.5 release.
    • a34a5f7 [3.2.x] Fixed CVE-2021-35042 -- Prevented SQL injection in QuerySet.order_by().
    • da2269d [3.2.x] Added stub release notes for 3.1.13 and release date for 3.2.5.
    • aaef411 [3.2.x] Fixed #32850 -- Doc'd Sitemap.paginator.
    • 04b7440 [3.2.x] Updated translations from Transifex.
    • 8b2b627 [3.2.x] Fixed #32863 -- Skipped system check for specifying type of auto-crea...
    • fb577d8 [3.2.x] Added a note about %autoawait off for IPython.
    • 3d51e16 [3.2.x] Fixed #32860 -- Made docs permalinks focusable to improve accessibility.
    • 826a165 [3.2.x] Fixed #32832 -- Fixed adding BLOB/TEXT nullable field with default on...
    • bb29174 [3.2.x] Refs #32503 -- Added release notes for 5e04e84d67da8163f365e9f5fcd169...
    • 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 python 
    opened by dependabot[bot] 0
  • Bump pillow from 8.2.0 to 8.3.2

    Bump pillow from 8.2.0 to 8.3.2

    Bumps pillow from 8.2.0 to 8.3.2.

    Release notes

    Sourced from pillow's releases.

    8.3.2

    https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html

    Security

    • CVE-2021-23437 Raise ValueError if color specifier is too long [hugovk, radarhere]

    • Fix 6-byte OOB read in FliDecode [wiredfool]

    Python 3.10 wheels

    • Add support for Python 3.10 #5569, #5570 [hugovk, radarhere]

    Fixed regressions

    • Ensure TIFF RowsPerStrip is multiple of 8 for JPEG compression #5588 [kmilos, radarhere]

    • Updates for ImagePalette channel order #5599 [radarhere]

    • Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library #5651 [nulano]

    8.3.1

    https://pillow.readthedocs.io/en/stable/releasenotes/8.3.1.html

    Changes

    8.3.0

    https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html

    Changes

    ... (truncated)

    Changelog

    Sourced from pillow's changelog.

    8.3.2 (2021-09-02)

    • CVE-2021-23437 Raise ValueError if color specifier is too long [hugovk, radarhere]

    • Fix 6-byte OOB read in FliDecode [wiredfool]

    • Add support for Python 3.10 #5569, #5570 [hugovk, radarhere]

    • Ensure TIFF RowsPerStrip is multiple of 8 for JPEG compression #5588 [kmilos, radarhere]

    • Updates for ImagePalette channel order #5599 [radarhere]

    • Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library #5651 [nulano]

    8.3.1 (2021-07-06)

    • Catch OSError when checking if fp is sys.stdout #5585 [radarhere]

    • Handle removing orientation from alternate types of EXIF data #5584 [radarhere]

    • Make Image.array take optional dtype argument #5572 [t-vi, radarhere]

    8.3.0 (2021-07-01)

    • Use snprintf instead of sprintf. CVE-2021-34552 #5567 [radarhere]

    • Limit TIFF strip size when saving with LibTIFF #5514 [kmilos]

    • Allow ICNS save on all operating systems #4526 [baletu, radarhere, newpanjing, hugovk]

    • De-zigzag JPEG's DQT when loading; deprecate convert_dict_qtables #4989 [gofr, radarhere]

    • Replaced xml.etree.ElementTree #5565 [radarhere]

    ... (truncated)

    Commits
    • 8013f13 8.3.2 version bump
    • 23c7ca8 Update CHANGES.rst
    • 8450366 Update release notes
    • a0afe89 Update test case
    • 9e08eb8 Raise ValueError if color specifier is too long
    • bd5cf7d FLI tests for Oss-fuzz crash.
    • 94a0cf1 Fix 6-byte OOB read in FliDecode
    • cece64f Add 8.3.2 (2021-09-02) [CI skip]
    • e422386 Add release notes for Pillow 8.3.2
    • 08dcbb8 Pillow 8.3.2 supports Python 3.10 [ci skip]
    • 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 python 
    opened by dependabot[bot] 0
  • Overwrite a template and keep it in my Project Folder

    Overwrite a template and keep it in my Project Folder

    I want to overwrite a template(example: clearable_file_input.html) and place the overwritten template in the project folder to get the updated functionality of the template while running the project. Where do I need to place that updated template inside the project? What are all the changes (if there is any like updating settings.py file) that I need to do for automatically fetching the updated template but not the original template?

    Example Scenario: I want to update the functionality of opening a link (of TabularInline Model) when it's clicked. I want to open the link in another tab when it's clicked. So, I got to know that I need to update the clearable_file_input.html and I successfully updated that. Now I need to figure out where do I need to place this file inside my project to get the updated functionality. I don't want to update the original template present in the path: "./local/lib/python3.7/site-packages/material/admin/templates/admin/widgets/clearable_file_input.html" I want to place the updated template in project so that while running the project, the updated template is taken rather than the original template present in the previously specified path.

    What do I need to do for this functionality to work?

    opened by narrasriram94 0
  • Input select-accross is not in action form

    Input select-accross is not in action form

    This input is not inside the changelist-form so when you click on select all items in the list and then select an action, the action is only applying to the 10 items displayed on the page. <input type="hidden" name="select_across" value="1" class="select-across">

    opened by dco5 0
  • Bump path-parse from 1.0.6 to 1.0.7

    Bump path-parse from 1.0.6 to 1.0.7

    Bumps path-parse from 1.0.6 to 1.0.7.

    Commits

    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 javascript 
    opened by dependabot[bot] 0
  • Adding custom icons

    Adding custom icons

    Many thanks for a great library.

    I wonder if I can use custom static icons for the modules. Something like:

    icon_name = '<img class="responsive-img" src="/static/icons/patient.png">'?

    opened by sa9 0
  • Bump postcss from 7.0.27 to 7.0.36

    Bump postcss from 7.0.27 to 7.0.36

    Bumps postcss from 7.0.27 to 7.0.36.

    Release notes

    Sourced from postcss's releases.

    7.0.36

    • Backport ReDoS vulnerabilities from PostCSS 8.

    7.0.35

    7.0.34

    • Fix compatibility with postcss-scss 2.

    7.0.33

    • Add error message for PostCSS 8 plugins.

    7.0.32

    7.0.31

    • Use only the latest source map annotation (by @​emzoumpo).

    7.0.30

    • Fix TypeScript definition (by @​nex3)

    7.0.29

    • Update Processor#version.

    7.0.28

    • Fix TypeScript definition (by @​nex3).
    Changelog

    Sourced from postcss's changelog.

    7.0.36

    • Backport ReDoS vulnerabilities from PostCSS 8.

    7.0.35

    • Add migration guide link to PostCSS 8 error text.

    7.0.34

    • Fix compatibility with postcss-scss 2.

    7.0.33

    • Add error message for PostCSS 8 plugins.

    7.0.36

    • Backport ReDoS vulnerabilities from PostCSS 8.

    7.0.35

    • Add migration guide link to PostCSS 8 error text.

    7.0.34

    • Fix compatibility with postcss-scss 2.

    7.0.33

    • Add error message for PostCSS 8 plugins.

    7.0.32

    7.0.31

    • Use only the latest source map annotation (by Emmanouil Zoumpoulakis).

    7.0.30

    • Fix TypeScript definition (by Natalie Weizenbaum).

    7.0.29

    • Update Processor#version.

    7.0.28

    • Fix TypeScript definition (by Natalie Weizenbaum).
    Commits
    • 67e3d7b Release 7.0.36 version
    • 54cbf3c Backport ReDoS vulnerabilities from PostCSS 8
    • 12832f3 Release 7.0.35 version
    • 4455ef6 Use OpenCollective in funding
    • e867c79 Add migration guide to PostCSS 8 error
    • 32a22a9 Release 7.0.34 version
    • 2293982 Lock build targets
    • 2c3a111 Release 7.0.33 version
    • 4105f21 Use yaspeller instead of yaspeller-ci
    • c8d02a0 Revert yaspeller-ci removal
    • 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 javascript 
    opened by dependabot[bot] 0
Releases(v1.7.14)
Owner
Anton
Anton
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 361 Oct 30, 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 260 Nov 1, 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 140 Oct 30, 2021
📱 An extension for Django admin that makes interface mobile-friendly. Merged into Django 2.0

Django Flat Responsive django-flat-responsive is included as part of Django from version 2.0! ?? Use this app if your project is powered by an older D

elky 249 Nov 12, 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 301 Nov 30, 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 415 Nov 25, 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 45 Nov 30, 2021
Disable dark mode in Django admin user interface in Django 3.2.x.

Django Non Dark Admin Disable or enable dark mode user interface in Django admin panel (Django==3.2). Installation For install this app run in termina

Artem Galichkin 1 Oct 23, 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 Dec 1, 2021
Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.

Xadmin Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap. Liv

差沙 4.6k Nov 24, 2021
A Django app that creates automatic web UIs for Python scripts.

Wooey is a simple web interface to run command line Python scripts. Think of it as an easy way to get your scripts up on the web for routine data anal

Wooey 1.7k Dec 2, 2021
A jazzy skin for the Django Admin-Interface (official repository).

Django Grappelli A jazzy skin for the Django admin interface. Grappelli is a grid-based alternative/extension to the Django administration interface.

Patrick Kranzlmueller 3.1k Nov 25, 2021
A Django admin theme using Twitter Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed apps.

django-admin-bootstrapped A Django admin theme using Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed ap

null 1.6k Nov 18, 2021
django's default admin interface made customizable. popup windows replaced by modals. :mage: :zap:

django-admin-interface django-admin-interface is a modern responsive flat admin interface customizable by the admin itself. Features Beautiful default

Fabio Caccamo 976 Dec 1, 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 Nov 26, 2021
Modern theme for Django admin interface

Django Suit Modern theme for Django admin interface. Django Suit is alternative theme/skin/extension for Django administration interface. Project home

Kaspars Sprogis 2.1k Nov 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 844 Dec 2, 2021
With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials.

Django Hijack With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials. Docs See http://django

null 1k Dec 1, 2021
Django application and library for importing and exporting data with admin integration.

django-import-export django-import-export is a Django application and library for importing and exporting data with included admin integration. Featur

null 2.3k Dec 1, 2021