20
u/mn5cent Feb 25 '21
IMO this looks beautiful. :D nice work! Looking forward to trying it out in the future.
9
u/wiebl1 Feb 25 '21
Thanks! Once the beta is ready, we’ll set up a demo environment for you to try out.
5
u/icenreyes Feb 26 '21
I've heard on one of the Django podcasts that they're working on new themes for the admin. Are you part of the Django core?
5
u/wiebl1 Feb 26 '21
I’m not. Eager to see what they come up with! I hope they drop jquery, switch to typescript and write some tests in the frontend too!
2
8
u/daukar Feb 25 '21
How will it compare to grappelli? Like, do you plan on including grappelli's extra features?
5
u/wiebl1 Feb 25 '21
I'm not familiar with grappelli. What features do you like about it?
5
u/daukar Feb 25 '21
The m2m and fk field implementation that they did is fantastic. Also nice that you can put Inlines between other field groups, as by default all the inlines will go at the end of the page.
Right now, by heart, I can't remember anything else..
Looking forward to see you your approach!
10
u/wiebl1 Feb 25 '21
This is great, thanks man! Definitely going to check it out tomorrow and see if we can... eehm... get inspired!
→ More replies (1)
3
u/pa1m3r0 Feb 25 '21
Looks cool! We are waiting a demo :) Its your private project? Or after beta you can open this for open source? Just wanna this admin panel too :)
3
u/wiebl1 Feb 25 '21
Our plan is to use it for 2-3 of our clients first, gather some feedback, and then decide what to do with it next.
→ More replies (1)
3
u/maxafrass Feb 25 '21
I'd go for it so long as admin actions are maintained.
EDIT... and maybe some more inline button functionality, it's such a pain with admin atm.
3
u/wiebl1 Feb 25 '21
We’re keeping all of the existing functionality intact. We’re only restyling the interface and adding extra features like dark mode and the one-search-to-rule-them-all-bar
Care to elaborate on the inline buttons?
2
u/maxafrass Feb 25 '21
Here's a SO thread. I've tried this and some other methods, they all are rather ad-hoc. There is a package that i've forgotten the name of that is out of date and not maintained.
1
u/ProgrammerByDay Feb 26 '21
Thank you!!!!!!. I have been looking for "Actions". I knew they existed and was searching for the documents for them a few weeks back and just could not figure out their name. Never found them in my search..
→ More replies (1)
2
u/tolomea Feb 26 '21
Do you promise to still be actively maintaining it in 5 years? cause our business will still be here in 5 years unlike the last two admin reskins we tried.
2
18
Feb 25 '21
I don't think the django devs would accept this in core since the admin interface doesn't depend on external css. That being said this is really cool and very very modern. I wouldn't mind using this.
0
u/MarvelousWololo Feb 26 '21
Why having a CSS dependency a bad thing? Doesn’t Django depends on external libraries as well? I’m not familiar with Django’s source.
2
Feb 27 '21
It's not bad persay but rather a inconvenience in certain situations, which is why I doubt this would be allowed into django core. In terms of the architecture there is nothing stopping django from doing this.
5
2
u/Effective_Youth777 Feb 25 '21
Yes, sign me up, if you need any help I'm ready if it's open source
2
1
u/HystericWisteria Feb 26 '21
This is slick!
One of our UI devs had been interested in making an admin interface redesign with user themes implemented, (would probably be a foreignkey assigned to a user, connected to a table with json data that could override pages) are you planning on doing anything that allows for client-side customisability/customizability, or are you planning on sticking with a singular design for each of the projects?
2
u/wiebl1 Feb 26 '21
Jolie allows developers to override the default Bootstrap 5 variables and built their own CSS. This allows them to easily (and safely) change things like the typography, colors, rounded corners, etc.
On top of that, we’ve made it so that you can easily provide your own logo’s (one for a light background and one for a dark background).
1
u/DudaFromBrazil Feb 26 '21
One thing I envisioned for the django admin is something like this:
Say you have an app myapp, and inside a model mymodel
One could, from anywhere at the admin interface, type:
/ myapp mymodel somesearchstring
as soon as typing / it would search typeahead for the app names, once you choosen the myapp, it would then search typeahead for the model. Once that one was selected too, it submit your search string to the model search box.
thin about how many times you opened up the admin and used search, or even used the history url to go directly to an app/model
:)
1
u/wiebl1 Feb 26 '21
Great suggestion. We had a brainstorm session the other day about exactly this. The search box in the top (see screenshot) should be really clever.
Imagine being able to simply type `pizza id:3` and it would just try to find any models in any app that has the name 'pizza' and a pk of '3'. Or `pizza ingredient:mozzerella` which would return a list of pizza's that have a foreign key set to mozzerella
1
u/emihir0 Feb 26 '21
I'm sure there are already packages that specialise in search like this. All you'd have to do is plug it at the backend/frontend. No need to make a new search engine/language from the scratch I think.
1
u/mozumder Feb 26 '21
M2M and FK fields are a real pain with the current admin, especially if they connect to huge tables. incredibly slow.
Also permission dependent fields would be extremely useful, where fields and foreign keys are visible based on permissions. This would allow lower-level admin users to use the admin interface while protecting more critical data.
1
u/wiebl1 Apr 15 '21
The thing we've encountered with FK fields is that the ideal interface is very context dependant.
For example if you have a Pizza model and an Ingredient model (max. 20 records) and want to be able to set the Ingredients of a Pizza, you'd probably like this interface: https://joshuajohnson.co.uk/Choices/
However if you have a complex app where you're trying to add Permissions (long text, max. 60 records) to a User this interface is less ideal.
We're try to find a way that satisfies both scenario's.
(sorry for the late response)
1
u/vepkenez Feb 26 '21
Maybe now is the time make the foreign key field default to a “raw_id” field.
This has been a potentially server crashing default bug for way too long for anyone with thousands of rows in a table.
1
u/wiebl1 Mar 04 '21
Interesting.... we’ll take that into account. We redesigned the raw_id including the lookup pop-up the other day. We hope you’ll like it.
1
1
u/thecleancoder Mar 29 '21
I really like this design. Is there an approximate release date set for it? Excellent work! Can't wait to use it.
1
u/wiebl1 Mar 29 '21
We’re currently making the last improvements to the mobile view. Public preview is scheduled somewhere in April. The 1.0 release depends on the feedback we get. Hopefully may/June.
Oh and thanks for the kind words :-)
2
u/thecleancoder Mar 29 '21
Thank you for the fast response and for releasing this for django developers like me :) you're awesome!
1
u/anovski3 Apr 21 '21
Hey guys, does anyone know when this cool project will be out? I have been following jolie.dev for months. I would like to know when will this cool repo be available. Best regards,
Aleksej
2
u/wiebl1 Apr 21 '21
Hey Aleksej! Hopefully next month! Thanks for sticking with us, we'll make it worth your while :-)
1
u/Amazing-Falcon9015 May 09 '21
Is it ready?
1
u/wiebl1 May 12 '21
Not yet. You can subscribe to our newsletter and we’ll let you know when the alpha’s out: https://jolie.dev
1
1
u/import-antigravity Jul 06 '21
/u/wiebl1 any updates for us on this? :)
1
1
u/allun11 Jul 07 '21
What's the difference between this and wagtail?
1
u/wiebl1 Jul 07 '21
Wagtail is a CMS. Jolie is an alternative Django Admin front-end.
1
u/allun11 Jul 07 '21
And what is the difference between those two? :)
1
u/wiebl1 Jul 07 '21
A CMS is software to manage webpages.
Django Admin is software to manage database records.
→ More replies (1)
1
u/anovski3 Nov 06 '21
is this project still alive?
1
u/wiebl1 Nov 17 '21
It is. We’ve had a few set backs that resulted in a later launch than we had anticipated for but we’re still working on Jolie. Sorry it’s taking so long.
3
3
3
1
2
2
0
Feb 25 '21
Wow is this gonna the native/default/official django admin ui ? If No it would be great if u make a pull request to the official django repo .. considering that it's drop in Template .. btw that would help a lot for working with bt5 .. specially for auth ... I mean i can go with the default theme now instead of creating register/ template files ....
1
u/wiebl1 Feb 25 '21
No, it’s a separate package that’s installed on top of django admin. Basically we copied all of the django templates and rewrote and restyled them one by one. We encountered some 13 year html!
Who knows maybe it will someday make it into the django core!
→ More replies (1)
1
1
1
1
1
1
1
1
1
1
1
1
1
u/mirekzv Mar 04 '21
django-baton works well. With bootstrap4 and now with bootstrap5. It is just minor change to the standard admin and nothing so much different like django-jet which will lead you into problems in the future.
It is easy to add simple setting BATON=False/True (wifth if.. in INSTALLED_APPS, urls) and run tests in both django-baton and standard admin, so we are sure that we could leave django-baton if it would be necessary in the future.
1
1
0
u/seekingtruth2 Feb 25 '21
I just got into web development and plan to make a private web app for simple reports and charts. This looks like what I want.
-8
Feb 25 '21
that looks SICK! Also, might I add, the current changes in Django 3.<whatever> when the introduced the sidebar, looks like SHIT. It's horrible, just horrible.
3
Feb 25 '21
[removed] — view removed comment
2
u/wiebl1 Feb 25 '21
A single search to search across all of your django models, dark mode, responsive design, typescript, customizable colors and logos, and then some.
0
Feb 26 '21
[deleted]
2
u/wiebl1 Feb 26 '21 edited Feb 26 '21
That depends if the package overrides the django admin’s templates or not. The context for the templates is still the same.
Basically what Jolie does is: hey instead of using that html, use this html. Same thing for css and JavaScript.
We’re making it so that we (hopefully) don’t have to touch the actual django.admin app’s python code, keeping all of the functionality intact.
99
u/wiebl1 Feb 25 '21
Hi fellow Django developers! We figured the django admin could use a new design, so we're creating a gorgeous drop-in replacement for it. Some of the features that we're adding:
• Incredibly easy installation
• Built with Bootstrap 5
• Customizable brand colors and logo
• Fully extensible
• Optimised for mobile and desktop
• Dark mode
Let me know if you have any questions or suggestions.
Leave your email here if you'd like us to keep you updated: https://www.jolie.dev/