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
"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
Code to reproduce experiments in the paper "Task-Oriented Dialogue as Dataflow Synthesis" (TACL 2020).

Code to reproduce experiments in the paper "Task-Oriented Dialogue as Dataflow Synthesis" (TACL 2020).

Microsoft 274 Dec 28, 2022
Python books free to read online or download

Python books free to read online or download

Paolo Amoroso 3.7k Jan 08, 2023
A user-friendly JSON editing form for Django admin

A user-friendly JSON editing form for Django admin

Bharat Chauhan 141 Dec 30, 2022
Jet Bridge (Universal) for Jet Admin – API-based Admin Panel Framework for your application

Jet Bridge for Jet Admin – Admin panel framework for your application Description About Jet Admin: https://about.jetadmin.io Live Demo: https://app.je

Jet Admin 1.3k Dec 27, 2022
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery

StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery

3.3k 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
fastapi-admin is a fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

fastapi-admin is a fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

fastapi-admin 1.6k Dec 30, 2022
A high-level app and dashboarding solution for Python

Panel provides tools for easily composing widgets, plots, tables, and other viewable objects and controls into custom analysis tools, apps, and dashboards.

HoloViz 2.5k Jan 03, 2023
Nginx UI allows you to access and modify the nginx configurations files without cli.

nginx ui Table of Contents nginx ui Introduction Setup Example Docker UI Authentication Configure the auth file Configure nginx Introduction We use ng

David Schenk 4.3k Dec 31, 2022
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
📱 An extension for Django admin that makes interface mobile-friendly. Merged into Django 2.0

Django Flat Responsive django-flat-responsive is included as part of Django from version 2.0! 🎉 Use this app if your project is powered by an older D

elky 248 Sep 02, 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
FLEX (Federated Learning EXchange,FLEX) protocol is a set of standardized federal learning agreements designed by Tongdun AI Research Group。

Click to view Chinese version FLEX (Federated Learning Exchange) protocol is a set of standardized federal learning agreements designed by Tongdun AI

同盾科技 50 Nov 29, 2022
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
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
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
Django Smuggler is a pluggable application for Django Web Framework that helps you to import/export fixtures via the automatically-generated administration interface.

Django Smuggler Django Smuggler is a pluggable application for Django Web Framework to easily dump/load fixtures via the automatically-generated admin

semente 373 Dec 26, 2022
Awesome Video Datasets

Awesome Video Datasets

Yunhua Zhang 462 Jan 02, 2023