Re: issue in hosting https://www.pythonanywhere.com

2018-12-25 Thread Atul Anand
Hi Ireoluwa, Have a beautiful Christmas Nice observation, I made the below change: ALLOWED_HOSTS = ['localhost', 'www.pythonanywhere.com/simplesocial'] But its still throwing the same error :( Regards, Atul On Wed, Dec 26, 2018 at 12:09 AM ireoluwa fakeye wrote: > Hii atul , > The

Re: issue in hosting https://www.pythonanywhere.com

2018-12-25 Thread ireoluwa fakeye
Hii atul , The problem you are facing is because you haven't added python anywhere to your allowed host in your settings.py .normally ,the only allowed host by default is your localhost. In order to solve this problem create a variable to hold the string 'www.pythonanywhere.com/yourappname'

Re: issue in hosting https://www.pythonanywhere.com

2018-12-25 Thread Gear Crew
Did you edit WSGI.py in pythonanywhere? On Tuesday, 25 December 2018 20:02:12 UTC+2, Brad Pitcher wrote: > > Atul, > Have you looked over the troubleshooting in > https://help.pythonanywhere.com/pages/DebuggingImportError ? It looks > like your web app is using a separate django installed to

Re: issue in hosting https://www.pythonanywhere.com

2018-12-25 Thread Brad Pitcher
Atul, Have you looked over the troubleshooting in https://help.pythonanywhere.com/pages/DebuggingImportError ? It looks like your web app is using a separate django installed to the system python based on the paths in the error log. You should be able to fix that in the *_wsgi.py file. On Tue,

channels and https

2018-12-25 Thread m . n . kaizen
How can I use channels with https at development I try to use django-sslserver but that doesn't work -- 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

Re: issue in hosting https://www.pythonanywhere.com

2018-12-25 Thread Brad Pitcher
Can you share your wsgi file created on pythonanywhere? On Tue, Dec 25, 2018, 1:01 AM Atul Anand Hi > I have activated the venv by below cmd: > 07:57 ~/simplesocial (master)$ workon djangoVenv > Please let me know do I need to do something else ? Note: I have tried > doing the same with cmd:

Re: Spam on django...@googlegroups.com

2018-12-25 Thread Jason
https://twitter.com/AdamChainz/status/1076912927612026881 this is also affecting the django-dev mailing list too. you can file a support ticket with them too. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Translation with context

2018-12-25 Thread Jani Tiainen
Hi, Django doesn't have translation system of own but relies on gettext tools (and python wrappers) to handle translations. Those tools doesn't know anything that your python code returns to context so no, there is no simple way to do that automatically. It's a limitation of gettext that there

Translation with context

2018-12-25 Thread אורי
Hi, We are using Django for Speedy Net and Speedy Match (currently Django 1.11.17, we can't upgrade to a newer version of Django because of one of our requirements, django-modeltranslation). I have a problem with translating strings with context. We use context mainly for translating strings