Re: why this serializer class is here

2020-03-19 Thread sagar ninave
thanks On Tue, Mar 17, 2020 at 11:41 PM Kasper Laudrup wrote: > On 18/03/2020 18.16, sagar ninave wrote: > > is it necessary to right serializers while making post request ? > > > > No > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > T

Re: It is Possible to send html File through Django Rest api? Please suggest

2020-03-19 Thread Suraj Thapa FC
No On Thu, 19 Mar 2020, 10:53 am venna venkatReddy, wrote: > It is Possible to send html File through Django Rest API. I need how to > send Template/one.html file to Other Application when they hit my API. > > Please respond or suggest any url > > -- > You received this message because you are s

Re: Django channel and gunicorn

2020-03-19 Thread Suraj Thapa FC
You can't use gunicorn with django channels... Use Daphne or uwsgi etc On Wed, 18 Mar 2020, 11:49 pm N'BE SORO, wrote: > hi i have a problem with django channel and gunicorn. > > I don't know how to configure my project so that the websocket can pass. > > > thank you. > > -- > You received this

Help to Create Dynamic Form

2020-03-19 Thread Rahul Roshan
I am trying to create a splitwise clone application for my weekend project. I have arrived at a stage where I have to create a new Bill. Please find below screenshot. In this form I have three queries: 1. A dynamic form where a model with fields (amount, user)

Re: Django channel and gunicorn

2020-03-19 Thread Andrew C.
Install uvicorn. Easy integration with gunicorn. There’s a good article about how to setup your Djsngo 3.0 async websocket app online too now. On Thu, Mar 19, 2020 at 3:32 AM Suraj Thapa FC wrote: > You can't use gunicorn with django channels... > Use Daphne or uwsgi etc > > On Wed, 18 Mar 2020,

Django Tutorial

2020-03-19 Thread Eddie Nash
I am going through the tutorial yet when I check to see if it is working, I get this error code. Please help me fix this! Exception in thread django-main-thread: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 932,

What is the difference between virtual environment and normal code in pycharm

2020-03-19 Thread Ravi Prakash
Hi All What is the difference between the virtual environment and normal code in pycharm? Can you explain, please -- Virtual Clone VirtualTech Outsourcing Services Pvt Ltd  59/B, Plot No. 4, 5 and 6, Nehru Nagar (West) Bhilai, Chhattisgarh - 490 020, India www.virtualclone.in

Re: Django Tutorial

2020-03-19 Thread Ryan Nowakowski
Please post your entire urls.py On March 19, 2020 1:18:40 AM CDT, Eddie Nash wrote: >I am going through the tutorial yet when I check to see if it is >working, I >get this error code. Please help me fix this! > > >Exception in thread django-main-thread: >Traceback (most recent call last): > Fil

Re: Django Tutorial

2020-03-19 Thread Daniel Hepper
There seems to be an equal sign missing after “name”: path('', views.index, name='index') > Am 19.03.2020 um 14:13 schrieb Eddie Nash : > >  > I am going through the tutorial yet when I check to see if it is working, I > get this error code. Please help me fix this! > > > Exception in thread

Re: What is the difference between virtual environment and normal code in pycharm

2020-03-19 Thread Phako Perez
Hi Ravi, There is no difference, both works same, however when you use the virtual environment, all the package you install will be available only in that venv, so you can create an environment per project and each project will have their own package list, each with their own version. On the o

Re: Django Tutorial

2020-03-19 Thread Imadonmwinyi Osazee
name='index' You had errors because you missed the = symbol On Mar 19, 2020 2:13 PM, "Eddie Nash" wrote: > I am going through the tutorial yet when I check to see if it is working, > I get this error code. Please help me fix this! > > > Exception in thread django-main-thread: > Traceback (most r

What is the difference between virtual environment and normal code in pycharm

2020-03-19 Thread cosmos multi
Hi ravi. In pycharm the virtual environment is created according to the project you choose, making this a little more automatic, making the installation or updating of packages more friendly, while a normal one is you who chooses what it should have -- You received this message because you ar

Re: write a new app

2020-03-19 Thread Mohsen Pahlevanzadeh
You mean I implement such as : https://www.django-rest-framework.org/ ? On Thu, Mar 19, 2020 at 4:34 AM ANi wrote: > > Well, you can write an integrated API service app. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe fr

Re: write a new app

2020-03-19 Thread Franck Tchouanga
An app that solves a problem In your community or society On Wed, Mar 18, 2020, 18:28 Mohsen Pahlevanzadeh wrote: > Dear All, > > I need to write an real app for my CV, But I want to write a usable > app, Not just a app for upload in github. What do you recommend? Of > course , I don't want to c

unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-19 Thread Eswar Subramanyam
Hi I opted for Djongo to take advantage of Django ORM with MongoDB.. but while starting the server, i get the following error AppData\Roaming\Python\Python38\site-packages\django\db\utils.py", line 121, in load_backend raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured

Asking for help

2020-03-19 Thread Motaz Hejaze
Hi guys , How are you all ? Hope you are all fine .. Guys i am now for 3 months without any job nor any income , and the news about corona make me fear that this period may increase , this will be very because i have a daughter to support .. I didnt want to write such a post , but anyone can

Re: Asking for help

2020-03-19 Thread Saswat Ray
Hi, Please try to post on linkedin as well.It may help *Thanks*, *Saswat* On Fri, Mar 20, 2020 at 6:58 AM Motaz Hejaze wrote: > Hi guys , > How are you all ? > Hope you are all fine .. > Guys i am now for 3 months without any job nor any income , and the news > about corona make me fear th

Re: Asking for help

2020-03-19 Thread Motaz Hejaze
I did , thank you for caring .. On Fri, 20 Mar 2020, 3:34 am Saswat Ray, wrote: > Hi, > Please try to post on linkedin as well.It may help > > > *Thanks*, > *Saswat* > > > > > > On Fri, Mar 20, 2020 at 6:58 AM Motaz Hejaze wrote: > >> Hi guys , >> How are you all ? >> Hope you are all fine .. >

Re: unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-19 Thread Khaleel Ahmed H. M. Shariff
Hi Eswar, May Peace, Blessings & Mercy of Almighty God be on you! Short answer, your environment is messed up. Now, let us address who or how was it messed up There are many reasons why you could be getting this error. One major issue similar I have frequently faced is in case you have multiple v

Re: write a new app

2020-03-19 Thread Andrew C.
If you want to avoid web frontend, then stick to mobile app development. DRF as someone else mentioned helps. I recommend front end development because they have guidelines and make thing easier to implement (iOS is much much easier). You can’t make a usable app without doing both frontend and back

Re: What is the difference between virtual environment and normal code in pycharm

2020-03-19 Thread Ravi Prakash
Hi Phoka Thank you! On Thursday, March 19, 2020 at 7:13:33 PM UTC+5:30, Phako Perez wrote: > > Hi Ravi, > > There is no difference, both works same, however when you use the virtual > environment, all the package you install will be available only in that > venv, so you can create an environme