Django Admin Panel Development

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1 servicesAll 2065 services
Django Admin Panel Development
Medium
from 1 week to 3 months
FAQ
Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Django Admin Panel Development

Django Admin — built-in data management system in Django. Works "out-of-the-box" for any model, requires minimal code for basic CRUD. When properly configured covers most operational business needs.

Basic Model Registration

# admin.py
from django.contrib import admin
from .models import Order, OrderItem, Customer

@admin.register(Order)
class OrderAdmin(admin.ModelAdmin):
    list_display       = ['id', 'customer', 'status', 'total_display', 'created_at']
    list_filter        = ['status', 'created_at']
    search_fields      = ['id', 'customer__email', 'customer__phone']
    list_select_related= ['customer']
    ordering           = ['-created_at']
    date_hierarchy     = 'created_at'
    readonly_fields    = ['created_at', 'updated_at', 'total']
    list_per_page      = 50

    def total_display(self, obj):
        return f'₽{obj.total / 100:,.0f}'
    total_display.short_description = 'Amount'
    total_display.admin_order_field = 'total'

    def get_queryset(self, request):
        return super().get_queryset(request).prefetch_related('items__product')

Inline Editing Related Objects

class OrderItemInline(admin.TabularInline):
    model          = OrderItem
    fields         = ['product', 'quantity', 'price', 'total']
    readonly_fields= ['total']
    extra          = 0  # don't show empty rows for adding

@admin.register(Order)
class OrderAdmin(admin.ModelAdmin):
    inlines = [OrderItemInline]

Custom Actions

@admin.action(description='Mark as completed')
def mark_completed(modeladmin, request, queryset):
    updated = queryset.filter(status='pending').update(
        status='completed',
        completed_at=timezone.now()
    )
    modeladmin.message_user(request, f'{updated} orders marked as completed.')

@admin.action(description='Export to Excel')
def export_excel(modeladmin, request, queryset):
    # Generate Excel via openpyxl
    response = HttpResponse(content_type='application/vnd.ms-excel')
    response['Content-Disposition'] = 'attachment; filename=orders.xlsx'
    export_orders_to_excel(queryset, response)
    return response

class OrderAdmin(admin.ModelAdmin):
    actions = [mark_completed, export_excel]

Custom Statistics Page

from django.contrib.admin.views.decorators import staff_member_required
from django.shortcuts import render
from django.db.models import Sum, Count
from django.db.models.functions import TruncDate

@staff_member_required
def order_statistics(request):
    stats = Order.objects.filter(
        status='completed',
        created_at__gte=timezone.now() - timedelta(days=30)
    ).annotate(
        date=TruncDate('created_at')
    ).values('date').annotate(
        revenue=Sum('total'),
        count=Count('id')
    ).order_by('date')

    return render(request, 'admin/order_statistics.html', {'stats': list(stats)})

Access Control Configuration

class OrderAdmin(admin.ModelAdmin):
    def has_delete_permission(self, request, obj=None):
        return request.user.has_perm('orders.delete_order') and request.user.is_superuser

    def has_change_permission(self, request, obj=None):
        if obj and obj.status == 'completed':
            return request.user.is_superuser  # only superadmin can edit completed
        return super().has_change_permission(request, obj)

UI Customization (django-jazzmin)

pip install django-jazzmin
# settings.py
INSTALLED_APPS = ['jazzmin', 'django.contrib.admin', ...]

JAZZMIN_SETTINGS = {
    'site_title':  'My Store',
    'site_header': 'Administration',
    'site_brand':  'Store',
    'theme':       'flatly',
    'icons': {
        'orders.order':    'fas fa-shopping-cart',
        'auth.user':       'fas fa-user',
        'catalog.product': 'fas fa-box'
    }
}

django-import-export: CSV/Excel Import Export

from import_export import resources, fields
from import_export.admin import ImportExportModelAdmin

class ProductResource(resources.ModelResource):
    class Meta:
        model = Product
        fields = ('id', 'name', 'sku', 'price', 'stock')
        import_id_fields = ('sku',)  # update by SKU, not ID

@admin.register(Product)
class ProductAdmin(ImportExportModelAdmin):
    resource_classes = [ProductResource]

Development timeline: 2–3 weeks for full panel with custom actions, inlines, permissions, and export.