An administration website for Django

Overview

yawd-admin, a django administration website

yawd-admin now has a live demo at http://yawd-admin.yawd.eu/. Use demo / demo as username & passowrd.

docs/yawd-admin-screenshot.png

yawd-admin is an administration website for django. It extends the default django admin site and offers the following:

  • A clean and beautiful bootstrap user interface
  • Hand-written pure HTML5/CSS3 code with indented HTML output
  • Responsive interface, optimized for mobile phones and tablets
  • Register custom database settings (options) editable from the UI. You can use all standard django form fields for these settings
  • Integration with google analytics for displaying statistics in the admin home page
  • Register your applications to the top-bar navigation
  • Refurbished original django admin widgets
  • Mechanism for opening the original django admin popup windows with fancybox
  • Seamless integration with yawd-translations for multilingual admin websites

Note

yawd-admin v0.6.1 is the last version intended to work with Django 1.4. yawd-admin v.0.7.0 and on is developed under Django 1.5.x and does NOT work with older Django releases. For those still using Django 1.4, you can checkout the 0.6.x branch or use the yawd-admin v0.6.1 pypi package. New features will not be backported to the 0.6.x branch. Since many of us run production systems tied to Django 1.4, both v0.6.1 and the latest documentation will be online on readthedocs.org.

Usage and demo

See the yawd-admin documentation for information on how to install the demo and use yawd-admin. There is also an online version of the demo at http://yawd-admin.yawd.eu/. Just use demo/demo as username and password.

Screenshots

Side navigation for change forms

docs/yawd-admin-affix.png

Sortable changelists

docs/sortable-changelists.png

Modal inlines

docs/contacts-email-addresses.png

Admin db options

docs/admin-options-full.png

Bitdeli badge
Comments
  • Javascript in master is not working

    Javascript in master is not working

    It appears something broke the JS in the master branch with Django 1.5. None of the admin js is working. All the js files are being served.

    Uncaught ReferenceError: yawdadmin is not defined select2.min.js:488 Uncaught ReferenceError: yawdadmin is not defined localhost:26 Uncaught ReferenceError: yawdadmin is not defined localhost:33 Uncaught ReferenceError: yawdadmin is not defined actions.js:139

    opened by volksman 12
  • Allow customization of admin site name

    Allow customization of admin site name

    You have it as Django Administration in admin/includes/topnav.html

    This should be customizable with a setting attribute or something. It's a fairly large template so overriding it locally would likely be a pain to maintain.

    opened by volksman 8
  • YawdAdmin breaks custom User model

    YawdAdmin breaks custom User model

    You define a form https://github.com/yawd/yawd-admin/blob/master/yawdadmin/forms.py that has fields hard coded. This can't be for custom user models as the fields may not exist. By defining this Django errors on basics like syncdb or shell.

    opened by volksman 6
  • Can't select an id with raw_id_fields

    Can't select an id with raw_id_fields

    Hello,

    I just installed yawd-admin and it's very nice (thanks for the work!).

    I've a problem with the fancy box and the raw_id_fields.

    When I click on the magnifiying glass next to a raw_id_field, this open the fancybox but I can't select directly the object that I want to populate the raw_id_field with the object id.

    Thanks for looking at this "problem"

    opened by rspt 4
  • Add user problem

    Add user problem

    We are working with yawd-admin v0.7.0 and django-1.5.2. When we try to add a new user, we see the edition form instead of the add form. Another problem we found is that the password input in the html is not of type password as it should be. More on this, is that when we try to save the changes, the password is not encrypted.

    opened by dnievas8k 4
  • Namespace the static files (please)

    Namespace the static files (please)

    I think it would be a really good idea to namespace the static files since you modify bootstrap.min.js and I may want a different version for my front end. Something like {{ STATIC_URL }}yawd/js/bootstrap.min.js

    As it stands now if I call in js/bootstrap.min.js I get yours. If I override it I loose the admin skin.

    opened by volksman 4
  • PopupModelAdmin inside another PopupModelAdmin

    PopupModelAdmin inside another PopupModelAdmin

    Hello!

    One question, my application needs a PopupModelAdmin) inside another PopupModelAdmin) and i have this:

    popup_inside_popup

    This is good anyway, but the clean solution would be like modal_size = '900:300px' or something better i guess... Ouch! In this case CKEditor does not show the entire on modal.

    What do you think? Is there anything that can help me?

    opened by lerrua 3
  • KeyError on new Analytics property/app with no data

    KeyError on new Analytics property/app with no data

    Django Version: 1.4.2 Exception Type: KeyError Exception Value: 'rows' Exception Location: /yawdadmin/utils.py in get_analytics_data, line 98

    As the title says, this happens when you add a property which has no visitor tracking data yet (api doesn't return what is expected).

    opened by chielteuben 2
  • Edit user details

    Edit user details

    A user should be able to edit his own "Personal Information" (first name, last name etc) even if he has no permissions to edit or view other users. This is not possible with the original django admin, neither with yawd-admin so far, but in real-world apps it's a must-have feature. A new view should be implemented and added to the top-right drop-down menu, above the 'Change password' link.

    enhancement 
    opened by ghost 2
  • collectstatic failed!

    collectstatic failed!

    Hi, when i run collectstatic in django 1.6 this fails, this says

    Post-processing 'yawd-admin/css/admin.css' failed!

    raise processed ValueError: The file 'yawd-admin/img/gcons/cassete.png' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa4b5c2c>.

    i used django-pipeline, django1.6.x and yawd-admin 0.7.0 is normal the file or imagen cassete.png no exist???

    Cheers

    opened by CARocha 1
  • Export does not respect filter

    Export does not respect filter

    The export does not respect filter. The template admin/import_export/export.html has to be changed.

    Replace line 18 by this :

    The original issue on django-import-export project :

    https://github.com/bmihelac/django-import-export/issues/23

    opened by mwolff44 1
  • New repo compatible with django 1.8

    New repo compatible with django 1.8

    As the project seems unmaintained, i forked it and updated it.

    As, i did not have any news about the repo owner, I will rename it yawd-admin2 in the future to get an official fork available in pypi.

    This is the repo : https://github.com/mwolff44/yawd-admin

    opened by mwolff44 0
  • Inline UserProfile id not being passed correctly in Django Admin (Django 1.6, YawdAdmin 0.7.0)

    Inline UserProfile id not being passed correctly in Django Admin (Django 1.6, YawdAdmin 0.7.0)

    Hi there, firstly: great project!

    I have a problem using (i.e. editing, updating) models with Yawd-Admin (0.7.0) on Python 2.7.8 when applying modal = True in my Inline Django Admin classes using the Django Proxy model for User Profiles.

    Using the following as simplified case (settings.py excluded, as well as INSTALLED_APPS, and associated imports):

    # app_name/admin.py
    class UserProfileInline(admin.StackedInline):
        model = UserProfile
        max_num = 1
        can_delete = False
        modal = True # This causes the error
    
    class UserProfileAdmin(UserAdmin):
        inlines = (UserProfileInline, )
    
    admin.site.unregister(User)
    admin.site.register(User, UserProfileAdmin)
    
    admin.autodiscover()
    admin_site._registry.update(admin.site._registry)
    
    
    # app_name/models.py
    class UserProfile(models.Model):
        user = models.OneToOneField(User)
        website = models.URLField(blank=True)
    

    I obtain the following error creating / editing a user (e.g.):

    MultiValueDictKeyError at /admin/auth/user/3/ "u'userprofile-0-id'"

    Since this inline is now associated with User, the extraneous information (website in this example) shows up as a Profile heading in the same page when creating a user (which is expected behavior). If this information (i.e. website) is added, and then saved; on the next page (the edit page), and a save is attempted, you obtain that error. This also occurs when you attempt to edit such a post. The only time you have a successful user creation / edit occurs when you don't modify any info in the class where modal = True is present.

    Also, because of the first save when creating a user, the user is added (in the default django auth tables), regardless of the success of entry of extra information via modal = True.

    I've looked quite deeply in the Yawd-Admin source, and for the life of me I cannot find why this information isn't passed correctly.

    Furthermore, having tried a number of combinations, it seems to be a Yawd-Admin problem with how modal = True loads and passes the information - as the default Django admin has no problem with this. And, when modal isn't present, everything works perfectly as in the default Django admin.

    UPDATE: The problem occurs even without modal = True if one follows the sequence: add extra info, and then modify it. It seems to be Yawd-Admin related as django-admin-bootstrap3 has no issues with it - as does the default Django admin site.

    I would appreciate any insight anyone can offer on this, please.

    Many thanks!

    opened by jared-l 1
  • Make oauth2client optional

    Make oauth2client optional

    oauth2client doesn't have support for Python3, since that package is only required for the Google Analytics part, shouldn't it be optional like the google-api-python-client?

    Currently the oauth2client requirement is preventing to set up yawd admin in any Python 3 projects.

    opened by oscarcp 0
  • Redirecting admin_site.urls to root

    Redirecting admin_site.urls to root

    Using url(r'^', include(admin_site.urls)) makes the admin panel to appear on the root url.

    However,

    When typing 1 segment aside the root url that doesn't exist. It generates an 500 KeyError, not a 404 Page not Found.

    How to reproduce on the example site: 1 ) login demo/demo 2 ) go to http://yawd-admin.yawd.eu/ueoue/

    This only happens with unknown urls that have 1 segment and no special characters.

    opened by Zundrium 0
Releases(v0.7.0)
  • v0.7.0(Oct 23, 2013)

Owner
Pantelis Petridis
Pantelis Petridis
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
With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials.

Django Hijack With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials. Docs 3.x docs are avai

1.2k Jan 02, 2023
A python application for manipulating pandas data frames from the comfort of your web browser

A python application for manipulating pandas data frames from the comfort of your web browser. Data flows are represented as a Directed Acyclic Graph, and nodes can be ran individually as the user se

Schlerp 161 Jan 04, 2023
A cool, modern and responsive django admin application based on bootstrap 5

django-baton A cool, modern and responsive django admin application based on bootstrap 5 Documentation: readthedocs Live Demo Now you can try django-b

Otto srl 678 Jan 01, 2023
A Django admin theme using Twitter Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed apps.

django-admin-bootstrapped A Django admin theme using Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed ap

1.6k Dec 28, 2022
Lazymux is a tool installer that is specially made for termux user which provides a lot of tool mainly used tools in termux and its easy to use

Lazymux is a tool installer that is specially made for termux user which provides a lot of tool mainly used tools in termux and its easy to use, Lazymux install any of the given tools provided by it

DedSecTL 1.8k Jan 09, 2023
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
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
aiohttp admin is generator for admin interface based on aiohttp

aiohttp admin is generator for admin interface based on aiohttp

Mykhailo Havelia 17 Nov 16, 2022
A Django admin theme using Twitter Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed apps.

django-admin-bootstrapped A Django admin theme using Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed ap

1.6k Dec 28, 2022
Material design for django administration

Django Material Administration Quick start pip install django-material-admin Add material.admin and material.admin.default to your INSTALLED_APPS sett

Anton 279 Jan 05, 2023
Tornadmin is an admin site generation framework for Tornado web server.

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

Bharat Chauhan 0 Jan 10, 2022
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
Sandwich Batch Normalization

Sandwich Batch Normalization Code for Sandwich Batch Normalization. Introduction We present Sandwich Batch Normalization (SaBN), an extremely easy imp

VITA 48 Dec 15, 2022
With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials.

Django Hijack With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials. Docs See http://django

1.2k Jan 05, 2023
xarray: N-D labeled arrays and datasets

xarray is an open source project and Python package that makes working with labelled multi-dimensional arrays simple, efficient, and fun!

Python for Data 2.8k Dec 29, 2022
Django Semantic UI admin theme

Django Semantic UI admin theme A completely free (MIT) Semantic UI admin theme for Django. Actually, this is my 3rd admin theme for Django. The first

Alex 69 Dec 28, 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
Tactical RMM is a remote monitoring & management tool for Windows computers, built with Django and Vue.

Tactical RMM is a remote monitoring & management tool for Windows computers, built with Django and Vue. It uses an agent written in golan

Dan 1.4k Dec 30, 2022
"Log in as user" for the Django admin.

django-loginas About "Login as user" for the Django admin. loginas supports Python 3 only, as of version 0.4. If you're on 2, use 0.3.6. Installing dj

Stavros Korokithakis 326 Dec 03, 2022