Tornadmin is an admin site generation framework for Tornado web server.

Overview

Tornadmin icon

Admin site for Tornado web server.

DocumentationPython >= 3.7

/!\ Work in progress

Introduction

Tornadmin is an admin site generation framework for Tornado web server. It is inspired a little by Django-Admin and a lot by Flask-Admin.

Supported database ORMs

  • Tortoise ORM
  • SQLAlchemy

Install

Install via pip:

$ pip install tornadmin

Documentation

Quickstart and usage docs can be found at https://tornadmin.rtfd.io.

License

BSD-3-Clause


If you've found this library useful, and if you wish to support me you can:

Comments
  • Conflict while doing list header lookup

    Conflict while doing list header lookup

    Every ModelAdmin class has a few internal attributes such as name. If the model also has a field called name which is specified in the list_headers, then the resolver tries to use the value from the admin.

    The admin's attribute must only be called when it's a callable. Otherwise call the model's attributes.

    bug 
    opened by bhch 0
  • In get_value function (from utils.template), if a callable returns another callable, it won't be called.

    In get_value function (from utils.template), if a callable returns another callable, it won't be called.

    Example:

    def x():
        return "Hello"
    
    def y():
        return x
    
    get_value(x) -> "Hello"
    
    get_value(y) -> <function.__main__.x()>
    
    # Expected:
    get_value(y) -> "Hello"
    

    It should also call returned callables.

    bug 
    opened by bhch 0
  • Allow using ModelAdmin class's attributes and standalone functions in list_headers

    Allow using ModelAdmin class's attributes and standalone functions in list_headers

    Currently, only a model's attirbutes (methods and fields) can be used in list_header. Provide support for using model admin's attributes and standalone functions as well.

    enhancement 
    opened by bhch 0
  • Preserve querystring upon redirection after action

    Preserve querystring upon redirection after action

    Suppose user searches for some thing, and then performs an action on the searched results. When the action redirects back to the list page, the search results are lost.

    It seems better ux to preserve the search or filtered results or page number etc.

    enhancement 
    opened by bhch 0
  • File uploads

    File uploads

    Form related tasks:

    • [ ] File inputs
    • [ ] Use enctype="multipart/form-data" on forms which have file inputs

    Upload related tasks:

    • [ ] Django like storage classes
    enhancement 
    opened by bhch 0
  • Return 404 status when request app or model admin doesn't exist

    Return 404 status when request app or model admin doesn't exist

    Currently the handler doesn't return 404 even when a requested app or model admin doesn't exist.

    Also, fix BaseAdminSite.get_registered() method. It returns a tuple (None, None) when no admin is found. It should return a single None.

    bug 
    opened by bhch 1
Releases(v0.9.1)
Owner
Bharat Chauhan
Ja'Crispy McJagger.
Bharat Chauhan
Jinja is a fast, expressive, extensible templating engine.

Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax.

The Pallets Projects 9k Jan 04, 2023
There is a new admin bot by @sinan-m-116 .

find me on telegram! deploy me on heroku, use below button: If you can't have a config.py file (EG on heroku), it is also possible to use environment

Sinzz-sinan-m 0 Nov 09, 2021
Passhunt is a simple tool for searching of default credentials for network devices, web applications and more. Search through 523 vendors and their 2084 default passwords.

Passhunt is a simple tool for searching of default credentials for network devices, web applications and more. Search through 523 vendors and their 2084 default passwords.

Viral Maniar 1.1k Dec 31, 2022
Python books free to read online or download

Python books free to read online or download

Paolo Amoroso 3.7k Jan 08, 2023
Material Design for Django

Django Material Material design for Django. Django-Material 1.7.x compatible with Django 1.11/2.0/2.1/2.2/3.0/3.1 Django-Material 1.6.x compatible wit

Viewflow 2.5k Jan 01, 2023
Helpers to extend Django Admin with data from external service with minimal hacks

django-admin-data-from-external-service Helpers to extend Django Admin with data from external service with minimal hacks Live demo with sources on He

Evgeniy Tatarkin 7 Apr 27, 2022
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.2k Dec 29, 2022
GFPGAN is a blind face restoration algorithm towards real-world face images.

GFPGAN is a blind face restoration algorithm towards real-world face images.

Applied Research Center (ARC), Tencent PCG 25.6k Jan 04, 2023
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 1.3k Dec 31, 2022
PyTorch Implementation of Unsupervised Depth Completion with Calibrated Backprojection Layers (ORAL, ICCV 2021)

PyTorch Implementation of Unsupervised Depth Completion with Calibrated Backprojection Layers (ORAL, ICCV 2021)

80 Dec 13, 2022
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 258 Nov 30, 2022
spider-admin-pro

Spider Admin Pro Github: https://github.com/mouday/spider-admin-pro Gitee: https://gitee.com/mouday/spider-admin-pro Pypi: https://pypi.org/

mouday 289 Jan 06, 2023
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

2.6k Jan 07, 2023
A modern Python package manager with PEP 582 support.

A modern Python package manager with PEP 582 support.

Python Development Master(PDM) 3.6k Jan 05, 2023
A new style for Django admin

Djamin Djamin a new and clean styles for Django admin based in Google projects styles. Quick start Install djamin: pip install -e git://github.com/her

Herson Leite 236 Dec 15, 2022
django-admin fixture generator command

Mockango for short mockango is django fixture generator command which help you have data without pain for test development requirements pip install dj

Ilia Rastkhadiv 14 Oct 29, 2022
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.4k Dec 29, 2022
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 1.2k Jan 08, 2023
Firebase Admin Console is a centralized platform for easy viewing and maintenance of Firestore database, the back-end API is a Python Flask app.

Firebase Admin Console is a centralized platform for easy viewing and maintenance of Firestore database, the back-end API is a Python Flask app. A starting template for developers to customize, build

Daqi Chen 1 Sep 10, 2022
Python code for "Machine learning: a probabilistic perspective" (2nd edition)

Python code for "Machine learning: a probabilistic perspective" (2nd edition)

Probabilistic machine learning 5.3k Dec 31, 2022