Skip to content

Django admin on steroids - some automagic to get links to foreignkey models, possibility to display related fields in lists, automagically add all models to your admin...

Notifications You must be signed in to change notification settings

digitalemagine/django-admin-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhances the django admin with some automagic.

How to use it:

More power to admin tables

extend admin models from admin_plus.ModelAdmin and register through admin_plus.register in order to benefit from more powerful admin:

  • follow foreign keys to related admin UI

Models autodiscovery

Automatically adds all models to the Admin through an autodiscovery (somehow similar to admin URLS autodiscovery)

Overall Example

Don't forget to add admin_plus to your INSTALLED_APPS

Then in your admin.py file:

#!python
import admin_plus
from django.contrib import admin

from yourapp import models as yourapp_models

class MyModelAdmin(admin_plus.ModelAdmin):
    pass

admin_plus.register(admin.site, get_user_model(), MyModelAdmin)

admin_plus.auto_register(admin.site, yourapp_models)

V 0.9.0

Initial release out of previous kitchensink project @TODO: try to improve with django 1.7 new apps config?!

About

Django admin on steroids - some automagic to get links to foreignkey models, possibility to display related fields in lists, automagically add all models to your admin...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published