Git Product home page Git Product logo

django-autoadmin's Introduction

Django Autoadmin

Django Autoadmin is Django application that lets you have a quick administration over your Django models. You can even use it to fake Django Auth when your're unable to create auth tables in your legacy database. You can also use AutoDatabrowser.

Installation

  1. Add autoadmin directory to your Python path.

  2. Add autoadmin to INSTALLED_APPS in your settings.py file.

  3. Add your application(s) to AUTOADMIN_APPS list in settings.py. For example:

    AUTOADMIN_APPS = (
        'app1',
        'app2',
    )
    

Configuration

To use AutoDatabrowser add your application(s) to AUTOADMIN_BROWSER_APPS. For example:

AUTOADMIN_BROWSER_APPS = (
    'app1',
)

To use FakeAuth set AUTOADMIN_FAKEAUTH to True. This will fake authentication backend to Django so you can login to your admin.

If you want to protect your admin, you can use AUTOADMIN_FAKEAUTH_USERNAME and AUTOADMIN_FAKEAUTH_PASSWORD.

If you are already using ContentType app, you can disable fake ContentType by setting AUTOADMIN_FAKECONTENTTYPE to False

Admin.py generator

To customize your admin you can generate admin.py file for your application.

python manage.py gen_modeladmins your_app

python manage.py gen_modeladmins your_app > your_app/admin.py

django-autoadmin's People

Contributors

bancek avatar v0y avatar

Stargazers

Kenny K Yeo avatar Izon Thomaz Mielke avatar  avatar Jonathan Barratt avatar Igor avatar  avatar Uros Trebec avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

21strun lukehuang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.