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
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
Simple and extensible administrative interface framework for Flask

Flask-Admin The project was recently moved into its own organization. Please update your references to Flask-Admin 5.2k Dec 29, 2022

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
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
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 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
Collection of admin fields and decorators to help to create computed or custom fields more friendly and easy way

django-admin-easy Collection of admin fields, decorators and mixin to help to create computed or custom fields more friendly and easy way Installation

Ezequiel Bertti 364 Jan 08, 2023
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
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
An improved django-admin-tools dashboard for Django projects

django-fluent-dashboard The fluent_dashboard module offers a custom admin dashboard, built on top of django-admin-tools (docs). The django-admin-tools

django-fluent 326 Nov 09, 2022
WordPress look and feel for Django administration panel

Django WP Admin WordPress look and feel for Django administration panel. Features WordPress look and feel New styles for selector, calendar and timepi

Maciej Marczewski 266 Nov 21, 2022
A curated list of the latest breakthroughs in AI by release date with a clear video explanation, link to a more in-depth article, and code.

A curated list of the latest breakthroughs in AI by release date with a clear video explanation, link to a more in-depth article, and code

Louis-François Bouchard 2.9k Jan 08, 2023
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
Legacy django jet rebooted , supports only Django 3

Django JET Reboot Rebooting the original project : django-jet. Django Jet is modern template for Django admin interface with improved functionality. W

215 Dec 31, 2022
WebVirtCloud is virtualization web interface for admins and users

WebVirtCloud is a virtualization web interface for admins and users. It can delegate Virtual Machine's to users. A noVNC viewer presents a full graphical console to the guest domain. KVM is currently

Anatoliy Guskov 1.3k Dec 29, 2022
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
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 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 flat theme for Django admin interface. Modern, fresh, simple.

Django Flat Theme django-flat-theme is included as part of Django from version 1.9! 🎉 Please use this app if your project is powered by an older Djan

elky 416 Sep 22, 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