Re: Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-22 Thread Ahmed Ishtiaque
Aldian has pointed it out already, but I also use Nginx + gunicorn + daphne for my production server. Nginx decides when to upgrade a request to wss:// and passes it on to my daphne instance to handle automatically. Would be happy to share my config for that if you want. Best, Ahmed On Fri, Mar

Re: Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-22 Thread Aldian Fazrihady
Does it really use Django channels? I am using Django channels and following its suggested package: ASGI provided by Daphne Regards, Aldian Fazrihady On Sat, 23 Mar 2019, 07:58 Adam Zedan, wrote: > I am currently using Django channels for websocket communication. I read > this >

Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-22 Thread Adam Zedan
I am currently using Django channels for websocket communication. I read this article and it states that I should split the project into two uwsgi instances. It

How can I create schemas while writing creating table models.

2019-03-22 Thread Sushen Jamwal
Hi all, I am finding it difficult to create tables in different schemas under one database. For ex. mydatabase.myschemaone.school (DB.SCHEMA.TABLE) and mydatabase.myschematwo.school Thanks, Sushen -- You received this message because you are subscribed to the Google Groups "Django users"

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
On Friday, March 22, 2019 at 8:35:13 PM UTC+1, Raffaele Salmaso wrote: > > On Thu, Mar 21, 2019 at 2:42 PM Manlio Perillo > wrote: > >> The view code is here: >> https://gist.github.com/perillo/2f828209cea84ff8c753f6f2524119f1 >> > I d > Because I have remove every extra components. I removed

Re: is_valid() method and cleaned_data attribute

2019-03-22 Thread Mohammad Etemaddar
Every field in Form has validators which check the value against their conditions. as Django Doc sais : The primary task of a Form object

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Raffaele Salmaso
On Thu, Mar 21, 2019 at 2:42 PM Manlio Perillo wrote: > The view code is here: > https://gist.github.com/perillo/2f828209cea84ff8c753f6f2524119f1 > I don't see the {% csrf_token %} in the template -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso |

Re: is_valid() method and cleaned_data attribute

2019-03-22 Thread Marcio Bernardes
is_valid() validates the form, for instance, if you have a field for integers and the user passes a str the 'is_valid()' will return false. The cleaned_data is the method you can use to access the data from the input if the form is valid, if the form is not valid this method will not contain

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Marcio Bernardes
Hey Manlio make sure to change the action option in the form html, use something like {% url ‘url_name’ %} there. Do not use this point path. Cheers! Sent from my iPhone > On 22. Mar 2019, at 16:09, Mohammad Etemaddar > wrote: > > I'm not sure about this, but I think maybe it would be

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Mohammad Etemaddar
I'm not sure about this, but I think maybe it would be about your Django bug. Have you updated your Django? On Friday, March 22, 2019 at 7:37:14 PM UTC+4:30, Manlio Perillo wrote: > > On Friday, March 22, 2019 at 3:23:32 PM UTC+1, Manlio Perillo wrote: >> >> On Friday, March 22, 2019 at 1:28:55

is_valid() method and cleaned_data attribute

2019-03-22 Thread omar ahmed
hello guys i created contact form in my view : if form.is_valid(): message = form.cleaned_data['message'] what is .is_valid() method and what is cleaned_data attribute ??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: mysqlclient

2019-03-22 Thread hunar techie
cpanel terminal doesnt support whl On Fri, Mar 22, 2019 at 6:56 PM ANIL UMARANE wrote: > Download MySQL client who > Pip install whl > > > On Fri, Mar 22, 2019, 9:23 PM hunar techie > wrote: > >> hi there >> when i try to pip install mysqlclient through my cpanel i get this error >> >>

Re: problem in running server

2019-03-22 Thread fazal rehman
Thanks it works  On Fri, Mar 22, 2019, 8:43 PM Scheck David activate your virtual env or pip install Django > > Le ven. 22 mars 2019 à 16:04, fazal rehman a > écrit : > >> (myvenv) C:\cdedjango\src\trydjango>python manage.py runserver >> Traceback (most recent call last): >> File

Re: mysqlclient

2019-03-22 Thread ANIL UMARANE
Download MySQL client who Pip install whl On Fri, Mar 22, 2019, 9:23 PM hunar techie wrote: > hi there > when i try to pip install mysqlclient through my cpanel i get this error > > [image: er.PNG] > thanks > > -- > You received this message because you are subscribed to the Google Groups

mysqlclient

2019-03-22 Thread hunar techie
hi there when i try to pip install mysqlclient through my cpanel i get this error [image: er.PNG] thanks -- 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: problem in running server

2019-03-22 Thread Scheck David
activate your virtual env or pip install Django Le ven. 22 mars 2019 à 16:04, fazal rehman a écrit : > (myvenv) C:\cdedjango\src\trydjango>python manage.py runserver > Traceback (most recent call last): > File "manage.py", line 8, in > from django.core.management import

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
On Friday, March 22, 2019 at 3:23:32 PM UTC+1, Manlio Perillo wrote: > > On Friday, March 22, 2019 at 1:28:55 PM UTC+1, Hamady Medvall wrote: >> >> You have to add the path /bug in URLConfig >> >> > A GET request to /mp/bug/ does not return an error, only a POST request > and *only* when using a

problem in running server

2019-03-22 Thread fazal rehman
(myvenv) C:\cdedjango\src\trydjango>python manage.py runserver Traceback (most recent call last): File "manage.py", line 8, in from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django' The above exception was the direct cause of the

Re: Which app for minio (s3) storage server?

2019-03-22 Thread sachinbg sachin
He how can I integrate otp attentication to my mobile app On Mar 22, 2019 8:19 PM, "guettli" wrote: > Up to now all my projects worked with the basic file storage. > > Now I want use a s3 like storage server for the first time. > > The server implementation will be minio (not aws) > > I see

Which app for minio (s3) storage server?

2019-03-22 Thread guettli
Up to now all my projects worked with the basic file storage. Now I want use a s3 like storage server for the first time. The server implementation will be minio (not aws) I see three apps: https://github.com/py-pa/django-minio-storage https://github.com/etianen/django-s3-storage

Django active sessions

2019-03-22 Thread Alejandro Martin Herve
I would like to know if there is a way to detect if a session is no longer active. I have a Django web app that when a user logs in, his session is set to expire at browser close request.session.set_expiry(0) this will close the session at browser close efectively but his expire time gets a

Re: Create project in windows, but run it in Ubuntu

2019-03-22 Thread chandan kumar
Hi, I tried it doing so , but didn't work for me. I had to give the same project to one of my friend who was using Django installed in Ubuntu. But it dint work there, so i had to install django again in his windows 10. Thanks *Chandan Chaudhary* IIIT Guwahati Btech(3rd Year) On Fri, Mar 22,

Django active sessions

2019-03-22 Thread Alejandro Martin Herve
Hi, I would like to know if there is a way to detect if a session in no longer active, I'll explain better. I have a setup in my web app where when a user logs in automatically his session is set to expire at browser close: request.session.set_expiry(0) But despite this work effectively, the

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
On Friday, March 22, 2019 at 1:28:55 PM UTC+1, Hamady Medvall wrote: > > You have to add the path /bug in URLConfig > > A GET request to /mp/bug/ does not return an error, only a POST request and *only* when using a file upload. >From the trace I see that it's the URL resolver that raises the

Re: IIS configuration for python Django project

2019-03-22 Thread Larry Martell
On Fri, Mar 22, 2019 at 8:28 AM patel hastik wrote: > > Hello, everyone > > I created python Django web Application I want to configure with IIS on the > window OS. I try many things and research about this I found video and > document and I follow all the step mention in the document but I am

Re: Create project in windows, but run it in Ubuntu

2019-03-22 Thread Bill Freeman
Using git does not require github. You can use any accessible machine to serve a git repository, to which you can push, and from which you can pull, using, for example, git+ssh (you could also use an ssh tunnel, but git supports ssh transport directly). Do set up ssh to require keys and not

Re: Create project in windows, but run it in Ubuntu

2019-03-22 Thread Aldian Fazrihady
Hi, That's is possible. On Fri, 22 Mar 2019, 19:28 Chafid Ahmad, wrote: > Hi, I have a client who wanted to run a Django project that can run in > Ubuntu. As I don't have a UX machine to developed it, is it possible to > developed the project in Windows, but later export it to Ubuntu? My

Test FrameWork Cleanup

2019-03-22 Thread Gourav Sardana
Hey, I am Gourav Sardana undergraduate computer science student.I am interested in the idea of test framework cleanup. @Mentors Can i ask you one thing? we have to build a software for improving code or we have to add this in our django core code? Regards, Gourav Sardana -- You received

PASSWORD_RESET_TIMEOUT_DAYS i want to set it to 3 hours

2019-03-22 Thread javed
have a requirement that I have to expiry the token after 3 hours, but not found anything how I can do this because PASSWORD_RESET_TIMEOUT_DAYS allow me to set in days. Suggest me some workaround. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Hamady Medvall
You have to add the path /bug in URLConfig On Fri, Mar 22, 2019 at 10:45 AM Manlio Perillo wrote: > On Thursday, March 21, 2019 at 2:42:31 PM UTC+1, Manlio Perillo wrote: >> >> On Thursday, March 21, 2019 at 10:56:43 AM UTC+1, Mohammad Etemaddar >> wrote: >>> >>> Can you send your view here?

Re: Hello From Nigeria

2019-03-22 Thread Nasim TKP
Guys let"s make a whatsapp or telegram group for our doubts and we can share projects my number is +919048761884 On Fri, 22 Mar 2019, 10:02 am VeeraNagaRaja Sankar, wrote: > me too guys , > add me > 9985864383 > > Best Regards, > Inti VeeraNagaRaja Sankar,M.Tech(IT) > M: 9985864383 >

Create project in windows, but run it in Ubuntu

2019-03-22 Thread Chafid Ahmad
Hi, I have a client who wanted to run a Django project that can run in Ubuntu. As I don't have a UX machine to developed it, is it possible to developed the project in Windows, but later export it to Ubuntu? My initial plan is: - Developed the project with pycharm in windows - Upload the project

IIS configuration for python Django project

2019-03-22 Thread patel hastik
Hello, everyone I created python Django web Application I want to configure with IIS on the window OS. I try many things and research about this I found video and document and I follow all the step mention in the document but I am getting Error "internal server Error 500.00 unknown FastCGI

Re: Hello From Nigeria

2019-03-22 Thread Nasim TKP
https://chat.whatsapp.com/GXP15D4Mvxq6cApcqs3TFo Join everyone we can make a community On Fri, 22 Mar 2019, 10:13 am Mohan Goud, wrote: > 9640855205 > > > > > On Fri, Mar 22, 2019 at 12:32 PM VeeraNagaRaja Sankar < > intisank...@gmail.com> wrote: > >> me too guys , >> add me >> 9985864383 >>

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
On Thursday, March 21, 2019 at 2:42:31 PM UTC+1, Manlio Perillo wrote: > > On Thursday, March 21, 2019 at 10:56:43 AM UTC+1, Mohammad Etemaddar wrote: >> >> Can you send your view here? >> >> > Here is the URL that reproduce the problem: > https://fast-page.it/mp/bug/ > > and here is the URL that

Re: Is there any inline editing the data and delete data in table in Django?

2019-03-22 Thread Joel Mathew
This is simple to achieve with django formset plus jquery. You just need to have a little imagination On Fri, 22 Mar, 2019, 12:15 PM VeeraNagaRaja Sankar, wrote: > hi Derek, > > Thank you but I saw this one not working for my methodology. > > Best Regards, > Inti VeeraNagaRaja Sankar,M.Tech(IT)

Re: Hello From Nigeria

2019-03-22 Thread Mohan Goud
9640855205 On Fri, Mar 22, 2019 at 12:32 PM VeeraNagaRaja Sankar wrote: > me too guys , > add me > 9985864383 > > Best Regards, > Inti VeeraNagaRaja Sankar,M.Tech(IT) > M: 9985864383 > intisank...@gmail.com > https://about.me/veeranagarajasankar > > > On Thu, Mar 21, 2019 at 9:07 PM

Re: Hello From Nigeria

2019-03-22 Thread VeeraNagaRaja Sankar
me too guys , add me 9985864383 Best Regards, Inti VeeraNagaRaja Sankar,M.Tech(IT) M: 9985864383 intisank...@gmail.com https://about.me/veeranagarajasankar On Thu, Mar 21, 2019 at 9:07 PM chaitanya goud wrote: > Hi i am an django developer I can join > > On Mon, 11 Mar 2019, 18:46 Joshua

Re: Is there any inline editing the data and delete data in table in Django?

2019-03-22 Thread VeeraNagaRaja Sankar
hi Derek, Thank you but I saw this one not working for my methodology. Best Regards, Inti VeeraNagaRaja Sankar,M.Tech(IT) M: 9985864383 intisank...@gmail.com https://about.me/veeranagarajasankar On Thu, Mar 21, 2019 at 11:08 AM Derek wrote: > If I had to do something like this right now I