Django-grappelli: Support Django 2.0

Created on 29 Nov 2017  ·  11Comments  ·  Source: sehmaschine/django-grappelli

Slated to be released in December, adding support for Django 2.0 would be amazing. Last release RC1 happened 2 weeks ago, here is the announcement.

First and foremost because of the mobile-friendly contrib.admin. I haven't had a chance to play around with it, but I bet they added responsive styles for inlines as well. This may be a lot of work, but I think the community would be happy to help out, I know I would myself!

Let's use this issue to discuss the roadmap (Target 3.X ?) and list the individual parts that need to be changed, to assist contributors with short concise PRs where possible.

django 2.0

Most helpful comment

Before talking UI refinements, the first step should be too make the current code compatible with Django 2.0.
The following imports need to be replaced: from django.core.urlresolvers import reverse

All 11 comments

Thanks for the heads up. We'll do another release (2.10.2) before dealing with Django 2.0. Besides, I don´t think we´ll support mobile devices with Grappelli.

Before talking UI refinements, the first step should be too make the current code compatible with Django 2.0.
The following imports need to be replaced: from django.core.urlresolvers import reverse

I have a fork that I changed the imports with here: https://github.com/dstrohl/django-grappelli do you want me to do a pull request? (which branch?)

@dstrohl I'm not sure about @sehmaschine , but if you ask me, GO FOR IT. Does your fork pass tests under 2.0?

@dstrohl Sounds good. But please note that we´ll do another release before actually dealing with django 2.0. IMO, the best option is to wait for our upcoming release (which should happen this or next week). Otherwise, there are probably conflicts with your PR.

There´s now a branch stable/2.11.x – please refer to this branch for any PR.

it didn't, but the tests seemed to be mostly solved by fixing a couple of
imports. However, I dropped Django 2.0 for now due to some pretty serious
problems with migrations and many to many fields so I didnt' finish it.
but it looks like it should not be very hard to get it working with 2.0.

On Mon, Dec 11, 2017 at 1:46 AM, Michał Pasternak notifications@github.com
wrote:

@dstrohl https://github.com/dstrohl I'm not sure about @sehmaschine
https://github.com/sehmaschine , but if you ask me, GO FOR IT. Does
your fork pass tests under 2.0?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sehmaschine/django-grappelli/issues/825#issuecomment-350672915,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJVOPBhuEjuet83-IeXeYoMDRDu95UAXks5s_PnlgaJpZM4QutSe
.

@sehmaschine stable/2.11.x is running along Django 2.0.1 in my codebase. Everything works fine.
Any plans for an official Grappelli 2.11 release?

@tdruez I just waited for some styling issues to be resolved with 2.10.2 and we´ll release 2.10.2 and 2.11.1 later this week.

Sounds great, thanks!

done

Was this page helpful?
0 / 5 - 0 ratings