django-admin-honeypot icon indicating copy to clipboard operation
django-admin-honeypot copied to clipboard

Update for modern Django!

Open pydanny opened this issue 4 years ago • 25 comments

Modern Django could really use this tool. I want to keep it in Two Scoops of Django 3.x!

pydanny avatar Apr 28 '20 00:04 pydanny

Done. See #67 and #68. I'm going to leave this open until there's an updated release on PyPI.

Thanks @pydanny for the nudge and @harisibrahimkv for doing the bulk of the work! 🎉

dmpayton avatar Apr 30 '20 11:04 dmpayton

Any idea when the new version will be available on PyPi?

9mido avatar May 18 '20 20:05 9mido

@9mido I'll issue a PyPI release when #62 is resolved.

dmpayton avatar May 18 '20 23:05 dmpayton

Hi @dmpayton

I just saw some deprecation warnings for django 4.0:

site-packages\admin_honeypot\signals.py:3: RemovedInDjango40Warning: The providing_args argument is deprecated. As it is purely documentational, it has no replacement. If you rely on this argument as documentation, you can move the text to a code comment or docstring.

and

site-packages\admin_honeypot\models.py:7: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().

Might be a quick win to fix this as well?

Update: Here is another one, but this might impact the django versions we would be able to support...?

site-packages\admin_honeypot\urls.py:7: RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path().

Best regards Ronny

GitRon avatar Aug 07 '20 07:08 GitRon

Thanks @GitRon, that's good to know! I'm under a big work deadline atm, and likely won't have a chance to work on admin_honeypot for another week or so, but I'd happily merge a PR for this before then. :)

dmpayton avatar Aug 07 '20 07:08 dmpayton

@dmpayton Looks like support for Django 3.0 had been merged. When new version will be released to pip?

SuperMasterBlasterLaser avatar Nov 30 '20 08:11 SuperMasterBlasterLaser

My merge requests have failed in the pipeline... Never realised that it didn't went through... I'll see that I'll have a look at them.

GitRon avatar Nov 30 '20 08:11 GitRon

@GitRon Yes please fix your PR failures

9mido avatar Dec 02 '20 02:12 9mido

@9mido @dmpayton The develop pipeline is broken, too. The django admin and the honeypot html code are not the same anymore. But when I start adjusting it for the latest django, I'll break older tests. I need help on this one 😔

GitRon avatar Dec 02 '20 08:12 GitRon

I think I'll go with commenting out the test for now. The problem lives in the dev branch and has nothing to do with my two branches. Ok for you?

GitRon avatar Dec 02 '20 08:12 GitRon

@9mido @dmpayton All fixed 😃

GitRon avatar Dec 04 '20 07:12 GitRon

@dmpayton @9mido Any progress on new version?

SuperMasterBlasterLaser avatar Dec 15 '20 11:12 SuperMasterBlasterLaser

Any updates on a new release? I see that many fixes were done in the dev branch, but it's not released to pypi

dimadk24 avatar Jan 14 '21 18:01 dimadk24

I have no idea. I don't maintain this project. I am like all of you just patiently waiting.

Just a suggestion but maybe this should become a jazzband project so that we could get more frequent updates?

9mido avatar Feb 04 '21 02:02 9mido

@9mido Might be an idea to move it to Jazzband. But can you do anything in this direction?

GitRon avatar Mar 08 '21 09:03 GitRon

I don't think I can do anything @GitRon. I think @dmpayton can only do something since he is the owner of this github library. Not sure exactly.

https://docs.github.com/en/github/administering-a-repository/transferring-a-repository

https://jazzband.co/about/guidelines

Someone may be able to fork the github library / download the files to their desktop and upload them to their own repository and do it, but we should at least give @dmpayton a say in what direction to go in first. Personally, I would love if all github libraries I used for django were on jazzband. It makes things more open source and depends less on 1 person calling the shots or disappearing. The django community becomes the entity to maintain the github library instead. @dmpayton can still be an adviser if he wants to.

I think it would be in @dmpayton's best interest since he is so busy and all of our best interests to port this library over to jazzband. If @dmpayton does not reply soon then we may have no choice and someone needs to fork it / upload it to their own github repository but then we still run into the same problem of 1 person calling the shots or disappearing. With jazzband, you do not have these problems. Otherwise if jazzband is not what @dmpayton wants, please step up your game. It has been almost 1 year now.

According to #jazzband on IRC they say we need to submit a proposal for this project to move to jazzband. https://github.com/jazzband-roadies/help/issues

9mido avatar Mar 08 '21 16:03 9mido

Any updates on this?

VentGrey avatar Apr 26 '21 21:04 VentGrey

@dmpayton Any chance that you could find some time for handling this project? Either yourself or maybe we pass the project to jazzband like @9mido suggested?

GitRon avatar Jun 01 '21 06:06 GitRon

I will stop using this package now. Really sad but it will break with the next major release of django 🤷

GitRon avatar Sep 23 '21 08:09 GitRon

@GitRon I made a proposal in jazzband. Hopefully somebody there could do something. I agree it is sad that this project seems to be no longer maintained.

9mido avatar Sep 23 '21 18:09 9mido

Hi, I have forked this project, included a few PRs (including @GitRon's Django 3 updates), and released a package to PyPI. You might have better luck with my fork.

blag avatar Nov 26 '21 08:11 blag

It's broken as of Django 4.0. What should we do folks?

Love this project, so helpful

https://github.com/dmpayton/django-admin-honeypot/issues/86

shawnngtq avatar Dec 11 '21 05:12 shawnngtq

@shawnngtq You can use my fork which is available from PyPI as django-admin-honeypot-updated-2021. My fork should work with Django 4.0, and if it doesn't I'd be happy to accept a PR to fix it.

blag avatar Dec 12 '21 06:12 blag

Hi, Is there any update on the project status - will there be an update on pypi? I am using Django 4.0. It appears most(all?) issues are fixed via the develop branch - I installed via pip and simply went through the errors as I hit them comparing the broken modules to the develop branch. Only issue is no ip address( not even 127.0.0.1 ) in the db but I haven't looked into it further yet or tried the suggestion in the docs yet(it may be my nginx settings).

This is a good project filling a practical need. Hopefully there will be a updated release on pypi at some point.

IrfanAkram5 avatar May 04 '22 09:05 IrfanAkram5

Just checking (and bumping) this thread. Has there been an update from the developer and/or jazzband?

hanckmann avatar Jul 04 '22 08:07 hanckmann