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
django's default admin interface made customizable. popup windows replaced by modals. :mage: :zap:

django-admin-interface django-admin-interface is a modern responsive flat admin interface customizable by the admin itself. Features Beautiful default

Fabio Caccamo 1.3k Dec 31, 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
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
Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.

Xadmin Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap. Liv

差沙 4.7k Dec 31, 2022
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery

StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery

3.3k Jan 01, 2023
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
Manuskript is an open-source tool for writers.

Manuskript is an open-source tool for writers. Manuskript runs on GNU/Linux, Mac OS X, and Windows.

Olivier 1.4k Jan 07, 2023
手部21个关键点检测,二维手势姿态,手势识别,pytorch,handpose

手部21个关键点检测,二维手势姿态,手势识别,pytorch,handpose

Eric.Lee 321 Dec 30, 2022
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
spider-admin-pro

Spider Admin Pro Github: https://github.com/mouday/spider-admin-pro Gitee: https://gitee.com/mouday/spider-admin-pro Pypi: https://pypi.org/

mouday 289 Jan 06, 2023
Jazzy theme for Django

Django jazzmin (Jazzy Admin) Drop-in theme for django admin, that utilises AdminLTE 3 & Bootstrap 4 to make yo' admin look jazzy Installation pip inst

David Farrington 1.2k Jan 08, 2023
Python books free to read online or download

Python books free to read online or download

Paolo Amoroso 3.7k Jan 08, 2023
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
There is a new admin bot by @sinan-m-116 .

find me on telegram! deploy me on heroku, use below button: If you can't have a config.py file (EG on heroku), it is also possible to use environment

Sinzz-sinan-m 0 Nov 09, 2021
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
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
Python Crypto Bot

Python Crypto Bot

Michael Whittle 1.6k Jan 06, 2023
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
"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
EOD (Easy and Efficient Object Detection) is a general object detection model production framework.

EOD (Easy and Efficient Object Detection) is a general object detection model production framework.

383 Jan 07, 2023