django-adminplus icon indicating copy to clipboard operation
django-adminplus copied to clipboard

Django 4 support

Open ivorbosloper opened this issue 3 years ago • 2 comments
trafficstars

Django 4 breaks with Exception:

File "adminplus/sites.py", line 47, in get_urls
   from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls' (django/conf/urls/__init__.py)

The cause is; django.conf.urls.url() was deprecated since Django 3.1, is removed in Django 4.0+. It can be resolved by using path or re_path , see docs.

ivorbosloper avatar Jan 27 '22 21:01 ivorbosloper

Any plans on releasing this?

cchacholiades avatar Jul 16 '22 12:07 cchacholiades

@cchacholiades I don't know why I keep running into this situation. I'm building my first for production Django website and keep seeing projects like this recommended only to find they haven't been touched in years and don't do anything with pull requests that fix support for the latest Django. Is the Django community dead or something or is it a bunch of people that used it from 10 years ago and are just content running django 2 on their already completed website?

@jsocol Anything we can do to help get this merged?

CircuitCipher avatar Sep 08 '22 11:09 CircuitCipher

Hey! Any plans to merge the pr?

artemdou avatar Oct 25 '22 13:10 artemdou

Fixed with merge...

ivorbosloper avatar Jan 19 '23 15:01 ivorbosloper

It’s merged in a fork, not in this repo

merwok avatar Jan 19 '23 15:01 merwok

It’s merged in a fork, not in this repo

where is this merged? i am trying to use the .5 version and it is not there

helissonomc avatar Nov 24 '23 12:11 helissonomc

I'm working on getting a new release cut. I believe this will be the last 0.x release

jsocol avatar Dec 05 '23 18:12 jsocol

I'm working on getting a new release cut. I believe this will be the last 0.x release

Nice! Thank you!

helissonomc avatar Dec 05 '23 18:12 helissonomc

It's out! https://pypi.org/project/django-adminplus/0.6/

Please file issues if you encounter anything with various versions of Django. I fully expect there to be issues given there hasn't been a release in ~8 years 😅

jsocol avatar Dec 05 '23 19:12 jsocol