Re: Best option for wrapping a wsgi app

2019-02-20 Thread Avraham Serour
I recommend nginx+uwsgi


On Tue, Feb 19, 2019 at 3:09 PM Anton Melser  wrote:

> Hi,
>
> I searched high and low but my Google-foo must be lacking. I want to wrap
> a wsgi app (https://github.com/tsudoko/anki-sync-server) and serve it
> under my Django site. After wasting large amounts of time working around
> this thinking it wasn't possible, I stumbled across
> https://github.com/2degrees/django-wsgi, which does the trick nicely (at
> least it appears to for what I need, though I have only tested locally).
> Unfortunately, the last commit was 3-4 years ago, and it doesn't support
> Django 1.10+ (is_authenticated() vs is_authenticated). I have submitted a
> PR and am currently using a fork but the project appears completely dead.
>
> What are other people using, if anything?
>
> Cheers,
> Anton
> --
> echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc
> This will help you for 99.9% of your problems ...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKywjPrsXNN1ve8PFYr9M%2BpbTHqA4T2xuwPAm%3DmJR13trp2meQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6t%2BYGDV3E_wrkqvHqwBu9kRvzvANdbfO_drxYrfKEkJj4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Best option for wrapping a wsgi app

2019-02-19 Thread Anton Melser
Hi,

I searched high and low but my Google-foo must be lacking. I want to wrap a
wsgi app (https://github.com/tsudoko/anki-sync-server) and serve it under
my Django site. After wasting large amounts of time working around this
thinking it wasn't possible, I stumbled across
https://github.com/2degrees/django-wsgi, which does the trick nicely (at
least it appears to for what I need, though I have only tested locally).
Unfortunately, the last commit was 3-4 years ago, and it doesn't support
Django 1.10+ (is_authenticated() vs is_authenticated). I have submitted a
PR and am currently using a fork but the project appears completely dead.

What are other people using, if anything?

Cheers,
Anton
-- 
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc
This will help you for 99.9% of your problems ...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKywjPrsXNN1ve8PFYr9M%2BpbTHqA4T2xuwPAm%3DmJR13trp2meQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.