dcramer / django-devserver

A drop-in replacement for Django's runserver.
BSD 3-Clause "New" or "Revised" License
1.27k stars 159 forks source link

Make devserver run on Python 3 #75

Open bkabrda opened 11 years ago

bkabrda commented 11 years ago

Hi, since Django can run on Python 3 now, I thought it would be nice if devserver could, too. I didn't use six library for compatibility, because I think the modifications are easy enough to keep them as they are...

scottwoodall commented 10 years ago

+1 as I was also needing/wanting this today.

lithammer commented 10 years ago

Should probably just use self.stdout.write() and self.stderr.write() instead of print() as suggest in the docs.

keimlink commented 10 years ago

What the status of this issue? Does django-devserver support Python 3 now?

gone commented 9 years ago

+1 for this one - I've been using coagulant's fork

ALenfant commented 9 years ago

+1, this project seems very interesting and I'd love to use it, but unfortunately I am on Python 3 !

mikaelengstrom commented 9 years ago

+1

FlipperPA commented 9 years ago

Our organization is running on Python 3 exclusively now as well. Shall we start a branch and collaborate if there's enough interest?

mikaelengstrom commented 9 years ago

@FlipperPA I´m interested and could help out.

rattrayalex commented 8 years ago

Is there a fork anyone is using?

egrubbs commented 8 years ago

I know someone that is using this branch for python 3. https://github.com/alexryabtsev/django-devserver/commits/master

Ismael-VC commented 7 years ago

@egrubbs why is Python 3 support not wanted?

ebertti commented 7 years ago

@dcramer Are you there?

acdha commented 7 years ago

@ebertti Unless you're his boss I don't think you should ask questions in that tone. If you want to help develop a project, perhaps test the outstanding pull request(s) and report your results.

FlipperPA commented 7 years ago

I'm guessing the maintainer probably doesn't have much time to give to this project, as he's the founder and CEO of Sentry, which has exploded over the past few years (congrats to you, @dcramer!). If you look at his commit history, it is pretty clear that's where his attention is, and should be. I wonder if he'd be amenable to someone taking this project over as maintainer, especially since Django 2.0 (coming in ~December) will only support Python 3 going forward.

Also worth considering, most of the features of this package can be accomplished in Django or are covered nicely in Django Debug Toolbar, for example:

acdha commented 7 years ago

@FlipperPA The main reason I still use devserver is for speed & AJAX: I often want is the query count/time info for API requests. I've been wondering whether it might be better to basically do a modern Django fork which would add only that information and forgo everything else since it's also much easier: hook the database, cache, etc. calls on startup and then turn control over to the stock WSGI app.