Django Suit
Modern theme for Django admin interface.
Django Suit is alternative theme/skin/extension for Django administration interface.
- Project home: http://djangosuit.com/
- Live demo v1: http://djangosuit.com/admin/
- Live demo v2.0 alpha 1: http://v2.djangosuit.com/admin/
License
- Django Suit is licensed under Creative Commons Attribution-NonCommercial 3.0 license.
- Licence and pricing: http://djangosuit.com/pricing/
Docs & Support
- Documentation v2: http://django-suit.readthedocs.org/en/v2/
- Documentation v1: http://django-suit.readthedocs.org/en/latest/
- Support: http://djangosuit.com/support/
- Follow on Twitter to get latest news
Changelog
Note: Django Suit v2.0 is in active development and not yet ready for production use.
Read more here: Todo: Add issue refernce
Contributing
See Contributing documentation
Build Status
Django Suit uses Travis CI to perform tests on different Django and Python versions.
Tested using Python: 2.7-3.4 and PyPy. Django: 1.9+ and Django Suit v2.0 alpha:
Preview
alt: | Django Suit Preview :target: http://v2.djangosuit.com/admin/ |
---|
Django Suit rewrite on Bootstrap 3
Few days ago i started Django suit rewrite on Bootstrap 3 and i will keep posting updates in this issue.
Few previous notes about BS3 you can see here: https://github.com/darklow/django-suit/issues/134#issuecomment-39536028
In nearest time i will push
bs3
branch to github and you will be able to test it out. However it will be very early stage and it will be not ready for production for a while.Currently i am rewriting DS using Django 1.7 rc2 and hopefully i will be able to support both Django 1.6 and 1.7 version.
New features
Sneak preview
Few of new Django Suit design drafts (work in progress)
Horizontal menu:
Regression: SortableTabularInline re-ordering not persisting to db in v0.2.4
This works in v0.2.3, and I'm guessing this commit may be the issue:
https://github.com/darklow/django-suit/commit/435afaa7a0b0bab5cc0143557fdd312ea67f9f5d
Full compare between versions: https://github.com/darklow/django-suit/compare/8f98158aa8c61dac11b03eb3e04fd6f989f531d7...22fbc800dcc069aade735d69d6ef164d31b35693
Cheers :beers:
Date and Datetime field not show calendar
Django 1.9.2 but i've tried to downgrade, i've the same issue. On DateField i can see the "today" link and the calendar ICON but on click not show calendar. I've tryed with and without Suit widget with the same result. Disabling suit it works normally.
The html is loaded correectly but the JS is not "clickable" on the icon. if i call openCalendar() it works.
Grid or Card view
In some situations, for example when working with images or model objects that are strongly associated with images, the standard table view of Django admin app is less suitable. A Grid like view, where each model instance is rendered within defined rectangular boundaries, would be more appropriate and make better use of screen real estate. Using the fluid characteristics of Bootstrap such a layout would work quite well.
Would you consider this a feature for Django Suit?
Warnings with 1.8 regarding settings.py templates
I am getting the following issue:
How can I declare my templates, my current settings.py are as follow:
....
Also for some reason the admin templates are not shown on my admin but the regular site do.
django-mptt tree sortable
I tried to follow the doc example for django-mptt tree sortable
model.py
admin.py
But its not being displayed correctly in django admin
Please Help
[django-suit==0.2.4]
Change app name feature
Add a config option to rename apps, e.g.
CSS not applied to admin panel.
Hello Group,
I finally got the admin panel sort of working. The css does not seem to be applied. Any clues?
I created a demo user
user: demo password: demo
http://162.243.201.237/admin
I see the demo,How the custom view show on?
First thanks a lot to develop this repository!I have a question that how can I build custom view in django-suit?I see the demo have the example.But I don't know the source code to consult on,Can you help me?
Thanks again!
Sortable issues
Hi darklow,
Thanks for django-suit! It's a nice admin theme and I appreciate your approach using Bootstrap. I am glad you're working on the Sortable feature, but unfortunately found two issues:
AttributeError: type object 'ModelForm' has no attribute 'Meta'
in suit/admin.pu r.54: self.form.Meta.widgets[self.sortable] = SortableListForm.Meta.widgets[
Form validation error on empty inline objects.
.. probably because the SortableTabularInline sets the sortable field?
Hope you can take a look at this!
Missing PNG/GIF icons in Django 1.9
In Django 1.9, PNG and GIF admin icons were replaced with SVG icons (and therefore breaking IE8 compatibility, which Django now consider to be at end-of-life).
This causes missing icons to be displayed in the admin for icons that are referenced by path. The only one of these I have been able to find so far is
/static/admin/img/icon-unknown.gif
but I'm sure there are more of these that have been affected.I guess this one might pose a bit of an issue if this project still supports IE8 although a simple fix could be to carry on with the
if django_version < 1.9
pattern as in similar issues.object-tools actions not rendered
Hi there,
after updating django from 3.1 to 3.2 buttons that usally are in
object-tools
does not rendered anymore. Moreover they are not appear even in the HTMLHas someone the same problem? main content ui does not contains it anymore :(
Make django-suit compatible with Django 4.x.x
In this commit an error:
"django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'suit.templatetags.suit_menu': cannot import name 'ugettext_lazy' from 'django.utils.translation' python3.10/site-packages/django/utils/translation/init.py"
has been fixed and now django-suit is compatible with Django version 4 by importing the gettext_lazy in admin_filters and menu files
Make django-suit compatible with Django 4.x.x
In this commit an error:
"django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'suit.templatetags.suit_menu': cannot import name 'ugettext_lazy' from 'django.utils.translation' python3.10/site-packages/django/utils/translation/init.py"
has been fixed and now django-suit is compatible with Django version 4 by importing the gettext_lazy in admin_filters and menu files
Row styling failing silently?
Seems row styling is failing. Code below does not result in any color changes and no errors that I can see. Python 3.7 and Django 1.18
add subitems for the suit menu subitems(3 level tree)
Is it Possible to structure a 3 level tree with django-suit menu? If yes how can I do this or if there is another way to customize in the menu. what i need is something like that:
Main Menu| |- SubItem1 |- SubItem2 |- SubItem2-1 |- SubItem2-2 |- SubItem3
Minimum changes to make it work for Djnago 3.2
These are the changes:
I haven't updated the demo site at all. So there might be something to be fixed there.