Feedback regarding Django-Suit for Django Admin Panel Customization - Need to add New Menu for Report Generations

46 views
Skip to first unread message

Balaji Shetty

unread,
Apr 9, 2019, 7:29:58 AM4/9/19
to django...@googlegroups.com
Dear Sir,

I am developing one web based application Django. I could understand Simple Web application as well as entire Django Admin Panel working upto this time.

My requirement is
I want to add new menu in existing Admin Panel. I have been searching a lot from many days but could not get any proper solution. I got some code on github like Django-Admin-Plus and django-Admin-Menu but when i installed on my machine, it could not execute and giving lots of error. Any link or video is available for this.

One solution may be view creation .

One more solution is to purchase Django Suit in around 3 to 4K rupees. Features of Django Suit is

FEATURES


  • Modern and professional design
  • Improved list filters
  • Sorting for list and inlines
  • Menu configuration & search
  • Useful CSS/JS addons
  • Based on Twitter Bootstrap
  • Simple installation
  • No 3rd-party requirements
  • 3rd-party app support: django-cms, django-filer and others.
Single
$45
Single commercial project
Use Django Suit in one
commercial project

So can anybody suggest me the BEST solution.

--
Mr. Shetty Balaji S.
9270696267

Derek

unread,
Apr 10, 2019, 2:34:50 AM4/10/19
to Django users
You'd need to create your own reporting app, with view and templates for creating your reports (plus an entry in urls.py of course)

The Django Suit menu could then be updated to link to your report index page:


# -*- coding: utf-8 -*-
"""
Django Suit Configuration Module
"""
from django.apps import AppConfig
from django import get_version
from suit.apps import DjangoSuitConfig
from suit.menu import ParentItem, ChildItem


class SuitConfig(DjangoSuitConfig):
    layout = 'horizontal'  # or 'vertical'
    name = 'suit'
    django_version = get_version()

    menu = (
        ParentItem('Client', children=[
            ChildItem(model='myapp.model1'),
            ChildItem(model='myapp.model2),
        ], icon='fa fa-example-o'),

        ParentItem('Reports', children=[
            ChildItem(url='/reports/', label="Reports"),
        ], icon='fa fa-star'),
    )


PS The license fee is only required if you are selling your software; not open source software available to the public.
Reply all
Reply to author
Forward
0 new messages