All Projects → sainipray → djadmin

sainipray / djadmin

Licence: MIT license
Djadmin is a django admin theme

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
python
139335 projects - #7 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to djadmin

PyShop
PyShop is an online Python Ecommerce website built with Django, SQLite and Bootstrap. A simple and lightweight ecommerce app easily deployable anywhere anytime with modules developed upon the inbuilt django admin.
Stars: ✭ 17 (-59.52%)
Mutual labels:  django-application, django-admin
django-split-settings
Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.
Stars: ✭ 920 (+2090.48%)
Mutual labels:  django-settings, django-configuration
vimana-framework
Vimana is an experimental security framework that aims to provide resources for auditing Python web applications.
Stars: ✭ 47 (+11.9%)
Mutual labels:  django-application, django-templates
django-lock-tokens
A Django application that provides a locking mechanism to prevent concurrency editing.
Stars: ✭ 19 (-54.76%)
Mutual labels:  django-application, django-admin
E Commerce 2 django
Guest register, user register, user login, user logout, account home page, product view history, change password, reset password, change name, send activation email when register, resend activation email, add shipping address, add billing address, add nickname to the addresses, edit shipping address, edit billing address, view list of your addresses, reuse shipping addresses when order products, reuse billing addresses when ordeer products, show sales analytics if staff or admin only using -chart.js-, get analytics data with Ajax, receive marketing email, change if user will receive marketing email or not by admin, send contact message with Ajax, products list, product detail, download product detail as a PDF file, download digital product files -if the user purchased that digital product only-, orders list, list of digital products files, order detail, download order detail as a PDF file, verify order ownership with Ajax -to secure order detail page-, show cart products, add or remove product from cart, checkout page, thanks page when order placed successfully, add or reuse payment method, add or reuse payment method with Ajax, search products by title, search products by description, search products by price, search products by tag title, write tags for products -by admin only-, auto fill contact email, full name if user logged in.
Stars: ✭ 20 (-52.38%)
Mutual labels:  django-application, django-admin
Awesome Django
Repository mirror of GitLab: https://gitlab.com/rosarior/awesome-django This repository is not monitored for issues, use original at GitLab.
Stars: ✭ 8,527 (+20202.38%)
Mutual labels:  django-application, django-admin
Awesome Django Cn
Django 优秀资源大全。
Stars: ✭ 1,153 (+2645.24%)
Mutual labels:  django-application, django-admin
Django Crud Ajax Login Register Fileupload
Django Crud, Django Crud Application, Django ajax CRUD,Django Boilerplate application, Django Register, Django Login,Django fileupload, CRUD, Bootstrap, AJAX, sample App
Stars: ✭ 118 (+180.95%)
Mutual labels:  django-application, django-admin
mastomods
CSS tweaks and custom themes for Mastodon.
Stars: ✭ 95 (+126.19%)
Mutual labels:  customization
djaq
Django queries
Stars: ✭ 54 (+28.57%)
Mutual labels:  django-application
Griddle
Simple Grid Component written in React
Stars: ✭ 2,494 (+5838.1%)
Mutual labels:  customization
django-shortcodes
A Django application to parse WordPress shortcodes.
Stars: ✭ 13 (-69.05%)
Mutual labels:  django-application
wnpp.debian.net
🌍 Code powering website "Debian Packages that Need Lovin'" created in 2009
Stars: ✭ 38 (-9.52%)
Mutual labels:  django-application
django-admin-extra-urls
Single mixin class to easily add buttons on any Django ModelAdmin related page
Stars: ✭ 26 (-38.1%)
Mutual labels:  django-admin
TitlebarZ
A simple titlebar customizer for Windows 10.
Stars: ✭ 21 (-50%)
Mutual labels:  customization
Whitelist
A simple tool to add commonly white listed domains to your Pi-Hole setup.
Stars: ✭ 3,033 (+7121.43%)
Mutual labels:  customization
Customizablecalendar
CustomizableCalendar is a library that allows you to create your calendar, customizing UI and behaviour
Stars: ✭ 214 (+409.52%)
Mutual labels:  customization
materialize-social
Social Login Buttons for MaterializeCSS
Stars: ✭ 50 (+19.05%)
Mutual labels:  materializecss
bureau
💻 Informative and fast ZSH prompt with git status. Works well with HUGE repositories. Show username, hostname, path, git branch and status.
Stars: ✭ 27 (-35.71%)
Mutual labels:  customization
planb
PlanB - automating remote backups and snapshots with zfs/rsync
Stars: ✭ 24 (-42.86%)
Mutual labels:  django-application

Djadmin

Djadmin is a django admin theme

Overview

"NEW UPDATES"
  • Added Django Admin documentation templates

  • Fixed Bugs

    "IN VERSION 1.1.5"

  • Added Sortable in admin change list page.

  • Added Language dropdown.

  • Added Configuration Page in admin (In Development).

  • Added Some fields in DjadminModelSettings Model.

  • Fixed Bugs

    "FEATURES ADDED IN VERSION 1.1.3"

  • Dynamic Django Admin - Admin options like : list_display, list_display_link etc will work dynamic.

  • Material Design - Djadmin is based on material design.

  • Djadmin Cards - It will show html design card on "Change list" or "Change form" page according to model.

  • Visior - Add visitor model for administrator location on each time login and show graph of login device

  • Forget Password Option - Admin can enable or disable forget password option on admin login page

  • Theme Color - Change theme color of admin

  • Admin Header Title - Change django admin header title

  • Image preview or File information on change form if form has Image field or File field

  • Added "Next" and "Prev" for change form. It will display when model have 2 or more rows data and model has default django primary key field "id"

Documentation

  • Installation -
    • Run

      pip install djadmin
      
    • Add 'djadmin' to your INSTALLED_APPS just before 'django.contrib.admin'

      'djadmin',
      
    • Add middleware in MIDDLEWARE_CLASSES list

      'djadmin.middleware.DJMiddleware',
      
    • Please make sure you already have 'django.template.context_processors.request' in context_processors of settings. If you don't have, please add it

    • Add in urls.py

      url(r'^admin/', include('djadmin.urls')),
      
    • Run 'python manage.py migrate' for make visitor model

      python manage.py migrate
      
    • Run 'python manage.py collectstatic'

      python manage.py collectstatic
      
    • Now you have successfully install djadmin in your project

  • Customization -
    • Add 'DJADMIN_DYNAMIC_FIELD_DISPLAY' for Enable Django admin dynamic options for models, After enable this option it's need to "migrate" model. default: False

      DJADMIN_DYNAMIC_FIELD_DISPLAY = True
      
    • Inherit DjadminMixin in your admin class of model, No need of inherit 'admin.ModelAdmin':

      from djadmin.mixins import DjadminMixin
      from main.models import Book
      @admin.register(Book)
      class BookAdmin(DjadminMixin):
          pass
      
    • Another way for register DjadminMixin to Model

      from djadmin.mixins import DjadminMixin
      from main.models import Book
      admin.site.register(Book, DjadminMixin)
      

    After that you will see DjadminMixin Inherit model name in "DjadmiModelSetting" of admin like below snapshot then change field values with given field.You will get field to show

    Note: If any field already define in your admin class of model then that field value in DjadmiModelSetting will not work for field.

    • Add 'DJADMIN_FIELD_DEPTH' for define field depth.When any model has ForeignKey relation with another model and next model also has Foreignkey relation with another that define relation depth.default = 1

      DJADMIN_FIELD_DEPTH = 2
      
      Ex:
      class Publisher(models.Model):
          name = models.CharField(max_length=30)
      
      class Book(models.Model):
          pub = models.ForeignKey(Publisher)
      
      class Author(models.Model):
          book = models.ForeignKey(Book)
      

    So, If we have Author model then depth 2 will create field in Author model: "book__pub__name" for access Publisher name from Author model instance.

    • Add 'ALLOW_FORGET_PASSWORD_ADMIN' for Enable Forget password option in login page, default: Disable

      ALLOW_FORGET_PASSWORD_ADMIN = True
      EMAIL_USE_TLS = True
      DEFAULT_FROM_EMAIL = '<Email ID>'
      SERVER_EMAIL = '<Email ID>'
      EMAIL_HOST = '<smtp.example.com>'  #Ex: Gmail : smtp.gmail.com
      EMAIL_PORT = <Port Number>    #Ex: Gmail : 587
      EMAIL_HOST_USER = '<Email ID>'
      EMAIL_HOST_PASSWORD = '<Password>'
      EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
      
    • Add 'ADMIN_COLOR_THEME' for change admin color. you can write directly name of color. default: cyan

      ADMIN_COLOR_THEME = 'red'
      
    • Add 'ADMIN_HEADER_TITLE' for change admin header title

      ADMIN_HEADER_TITLE  = 'Djadmin Administrator'
      

Demo

Screenshot

.screen1.png

.screen2.png

.screen3.png

.screen4.png

.screen5.png

License

Djadmin is an Open Source project licensed under the terms of the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].