Re: why this serializer class is here

2020-03-16 Thread sagar ninave
i dont know? thats why i am asking

On Mon, Mar 16, 2020 at 6:01 PM Suraj Thapa FC 
wrote:

> Does it matters..?
>
> On Mon, 16 Mar 2020, 10:29 pm sagar ninave,  wrote:
>
>>
>>
>> I want to know why this serializes class here we can write it in separate
>> file too so why here?
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/e2cf208d-7be0-486f-9d3f-d5bf13cc7546%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPjsHcEGXXASOPkYmCU3B8d%2BV9kOKYSTb9BLNa8FCTBQeXNSAQ%40mail.gmail.com
> 
> .
>


-- 

sagar ninave
about.me/sagarninave


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA6pdZ8nVE1c7LW-pzcgeyY_ahrs9%2B7Xg%3De1k3oc%2BGcOSVgB_w%40mail.gmail.com.


Django for Beginners: Build websites with Python and Django

2020-03-16 Thread Vikash Chitransh
I am looking the book for teaching purpose, It's great help me if anyone 
who send me my email id. Django for Beginners: Build websites with Python 
and Django
Thanks & Regards,
Vikash Chitransh
pythonstar2...@gmail.com

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7b3aea0a-e867-4e68-8e1a-6983f1f97685%40googlegroups.com.


Re: Crime Prediction System

2020-03-16 Thread Evariste IBRAHIM
Me too i'm intersting for that !

Le lun. 16 mars 2020 à 21:11, Franck Tchouanga  a
écrit :

> I am actually working on one
>
> On Mon, Mar 16, 2020, 17:30 Onyore Daniel  wrote:
>
>> Hey,
>> anyone with source code for crime prediction system, kindly send me a
>> downloaded link.
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f7b20cc5-677a-4f98-90cf-af26c5d883f8%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANRJ%3D3nMvyXCyJ07uTKOkwGMwZ%3DBkQGk29LmDpQae0KNp9sKCQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BM%3Dr3Lx3HFcwzqn9K0ee33MQq3ZP9vCVWG9ufZ89hakwUG-Fw%40mail.gmail.com.


Re: French Open Source ?

2020-03-16 Thread Ysahiro Yasuo
Tu pourrais faire aussi une recherche sur Github.

On Mon, Mar 16, 2020, 21:49 Florent Vandroy 
wrote:

> Je préférerais un projet en petit comité, ambiance start-up
>
> Le lun. 16 mars 2020 à 22:38, Ysahiro Yasuo  a
> écrit :
>
>> Cherche *Zulip master* sur Github. C'est un projet Django open-source tu
>> peux cloner le depot en local.
>>
>> On Mon, Mar 16, 2020, 21:12 Florent Vandroy 
>> wrote:
>>
>>> Sorry but this message is for the french member, so i will write in
>>> French.
>>>
>>> Bonjour à tous,
>>> Je recherche un projet open source afin de continuer à développer mes
>>> compétences sous Django, je peux rejoindre discord, slack ainsi que tout
>>> autre moyen de communication si nécessaire.
>>> J'attends et espère être recontacté sous peu.
>>>
>>> Merci
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/a341c72a-0d55-46f4-ad29-b0459a7986e2%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAACLQtK1VODQTeMzqkzYBSTmEw71iyPTamjd-t9Z1rdGb7%3Dbog%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAE8WgOMPHQn371i%2BAcDUwo4DkrdUCwZhHx0TvHbh585LxV2bYw%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAACLQtJ5Gjm0%2B7%2B8ttAbsKg_Qa8H19FSh0Px01GiAdQp_-iSbA%40mail.gmail.com.


Re: French Open Source ?

2020-03-16 Thread N'BE SORO
Ok

Le lun. 16 mars 2020 à 21:49, Florent Vandroy  a
écrit :

> Je préférerais un projet en petit comité, ambiance start-up
>
> Le lun. 16 mars 2020 à 22:38, Ysahiro Yasuo  a
> écrit :
>
>> Cherche *Zulip master* sur Github. C'est un projet Django open-source tu
>> peux cloner le depot en local.
>>
>> On Mon, Mar 16, 2020, 21:12 Florent Vandroy 
>> wrote:
>>
>>> Sorry but this message is for the french member, so i will write in
>>> French.
>>>
>>> Bonjour à tous,
>>> Je recherche un projet open source afin de continuer à développer mes
>>> compétences sous Django, je peux rejoindre discord, slack ainsi que tout
>>> autre moyen de communication si nécessaire.
>>> J'attends et espère être recontacté sous peu.
>>>
>>> Merci
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/a341c72a-0d55-46f4-ad29-b0459a7986e2%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAACLQtK1VODQTeMzqkzYBSTmEw71iyPTamjd-t9Z1rdGb7%3Dbog%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAE8WgOMPHQn371i%2BAcDUwo4DkrdUCwZhHx0TvHbh585LxV2bYw%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOtSHp9C2Gm4vCzLOHZJ0umLV48fMb5UpFv2_GLJ6Nw0%3Dc2RCQ%40mail.gmail.com.


Re: why this serializer class is here

2020-03-16 Thread Suraj Thapa FC
Does it matters..?

On Mon, 16 Mar 2020, 10:29 pm sagar ninave,  wrote:

>
>
> I want to know why this serializes class here we can write it in separate
> file too so why here?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e2cf208d-7be0-486f-9d3f-d5bf13cc7546%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPjsHcEGXXASOPkYmCU3B8d%2BV9kOKYSTb9BLNa8FCTBQeXNSAQ%40mail.gmail.com.


Re: French Open Source ?

2020-03-16 Thread Ysahiro Yasuo
Moi je cherche projet remunéré

On Mon, Mar 16, 2020, 21:41 KONE GOMPOU LOUA ALASSANE <
gompou.k...@uvci.edu.ci> wrote:

> Ok ça marche
>
> Le lun. 16 mars 2020 à 21:39, Ysahiro Yasuo  a
> écrit :
>
>> Cherche *Zulip master* sur Github. C'est un projet Django open-source tu
>> peux cloner le depot en local.
>>
>> On Mon, Mar 16, 2020, 21:12 Florent Vandroy 
>> wrote:
>>
>>> Sorry but this message is for the french member, so i will write in
>>> French.
>>>
>>> Bonjour à tous,
>>> Je recherche un projet open source afin de continuer à développer mes
>>> compétences sous Django, je peux rejoindre discord, slack ainsi que tout
>>> autre moyen de communication si nécessaire.
>>> J'attends et espère être recontacté sous peu.
>>>
>>> Merci
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/a341c72a-0d55-46f4-ad29-b0459a7986e2%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAACLQtK1VODQTeMzqkzYBSTmEw71iyPTamjd-t9Z1rdGb7%3Dbog%40mail.gmail.com
>> 
>> .
>>
> --
> *La meilleure façon de prédire l’avenir est de le créer. *
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANoHCssUsCNm7WfnRGGA8%2BmFND4RkLAXWZXPF5aSfxKX6ECtuw%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAACLQtJ259bkixqmvb%2BV%2BKJWfhBX1OVmHdVttJRZgFKAmSa-ZA%40mail.gmail.com.


Re: French Open Source ?

2020-03-16 Thread KONE GOMPOU LOUA ALASSANE
Ok ça marche

Le lun. 16 mars 2020 à 21:39, Ysahiro Yasuo  a
écrit :

> Cherche *Zulip master* sur Github. C'est un projet Django open-source tu
> peux cloner le depot en local.
>
> On Mon, Mar 16, 2020, 21:12 Florent Vandroy 
> wrote:
>
>> Sorry but this message is for the french member, so i will write in
>> French.
>>
>> Bonjour à tous,
>> Je recherche un projet open source afin de continuer à développer mes
>> compétences sous Django, je peux rejoindre discord, slack ainsi que tout
>> autre moyen de communication si nécessaire.
>> J'attends et espère être recontacté sous peu.
>>
>> Merci
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/a341c72a-0d55-46f4-ad29-b0459a7986e2%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAACLQtK1VODQTeMzqkzYBSTmEw71iyPTamjd-t9Z1rdGb7%3Dbog%40mail.gmail.com
> 
> .
>
-- 
*La meilleure façon de prédire l’avenir est de le créer. *

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANoHCssUsCNm7WfnRGGA8%2BmFND4RkLAXWZXPF5aSfxKX6ECtuw%40mail.gmail.com.


Re: French Open Source ?

2020-03-16 Thread Ysahiro Yasuo
Cherche *Zulip master* sur Github. C'est un projet Django open-source tu
peux cloner le depot en local.

On Mon, Mar 16, 2020, 21:12 Florent Vandroy 
wrote:

> Sorry but this message is for the french member, so i will write in French.
>
> Bonjour à tous,
> Je recherche un projet open source afin de continuer à développer mes
> compétences sous Django, je peux rejoindre discord, slack ainsi que tout
> autre moyen de communication si nécessaire.
> J'attends et espère être recontacté sous peu.
>
> Merci
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a341c72a-0d55-46f4-ad29-b0459a7986e2%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAACLQtK1VODQTeMzqkzYBSTmEw71iyPTamjd-t9Z1rdGb7%3Dbog%40mail.gmail.com.


Re: French Open Source ?

2020-03-16 Thread KONE GOMPOU LOUA ALASSANE
Quel genre ?
Juste pour les compétences avec code sources partagé ou un projet rémunéré ?
Thks

Le lun. 16 mars 2020 à 21:13, Florent Vandroy  a
écrit :

> Sorry but this message is for the french member, so i will write in French.
>
> Bonjour à tous,
> Je recherche un projet open source afin de continuer à développer mes
> compétences sous Django, je peux rejoindre discord, slack ainsi que tout
> autre moyen de communication si nécessaire.
> J'attends et espère être recontacté sous peu.
>
> Merci
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a341c72a-0d55-46f4-ad29-b0459a7986e2%40googlegroups.com
> 
> .
>
-- 
*La meilleure façon de prédire l’avenir est de le créer. *

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANoHCsv7ryfM2Wuii5dtBRCs6o%2BUYX3K1Exn6NVTknyPdh_2dg%40mail.gmail.com.


Re: Crime Prediction System

2020-03-16 Thread Franck Tchouanga
I am actually working on one

On Mon, Mar 16, 2020, 17:30 Onyore Daniel  wrote:

> Hey,
> anyone with source code for crime prediction system, kindly send me a
> downloaded link.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f7b20cc5-677a-4f98-90cf-af26c5d883f8%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANRJ%3D3nMvyXCyJ07uTKOkwGMwZ%3DBkQGk29LmDpQae0KNp9sKCQ%40mail.gmail.com.


Re: Problem

2020-03-16 Thread Phako Perez
Once you created the venv, you will get a new directory, (with the name you 
provided in this example my_env)
In Linux you can activate as

source my_env/bin/activate

You will notice your prompt change with the venv name at the beginning 

Now you are on your venv

pip list

Will list all the libraries installed, now you can simple install as usual

pip install 

Regards

Sent from my iPhone

> On 16 Mar 2020, at 13:59, Daniel Chiemelu  
> wrote:
> 
> 
> So after creating the virtual environment what is next on installing django
>  
> Sent from Mail for Windows 10
>  
> From: Phako Perez
> Sent: Monday, March 16, 2020 8:42 PM
> Subject: Re: Problem
>  
> What’s the problem???
>  
> Using python 3 you can create an environment as
>  
> python3 -m venv my_env
>  
> Kindly send an error or what is the issue you face while trying to create the 
> env, so will be more easy to help, otherwise this question you can search on 
> google for a beginner tutorial
>  
> Regards
> 
> Sent from my iPhone
> 
> 
> On 16 Mar 2020, at 13:34, Daniel Chiemelu  
> wrote:
> 
> 
> Please I am new in Django and I am finding it difficult to create a virtual 
> environment and also install Django and I had a virtual environment that I 
> created before using Flask
>  
> Sent from Mail for Windows 10
>  
>  
> 
> Virus-free. www.avast.com
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/5e6fd482.1c69fb81.b9f97.42e4%40mx.google.com.
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/84A00726-EAF0-4D71-9CB6-2B9A0BD63184%40gmail.com.
>  
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/5e6fda79.1c69fb81.ee8e8.440a%40mx.google.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/80DD347A-A65E-443F-A75D-511F4B072C6C%40gmail.com.


Re: Re: Problem

2020-03-16 Thread Gerardo Palazuelos Guerrero
please proceed with this tutorial:
https://tutorial.djangogirls.org/en/django_installation/

it covers all steps

--
Gerardo Palazuelos Guerrero



On Mon, Mar 16, 2020 at 12:59 PM Daniel Chiemelu <
chiemeluchukwuemeka...@gmail.com> wrote:

> So after creating the virtual environment what is next on installing django
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
> *From: *Phako Perez <13.phak...@gmail.com>
> *Sent: *Monday, March 16, 2020 8:42 PM
> *Subject: *Re: Problem
>
>
>
> What’s the problem???
>
>
>
> Using python 3 you can create an environment as
>
>
>
> python3 -m venv my_env
>
>
>
> Kindly send an error or what is the issue you face while trying to create
> the env, so will be more easy to help, otherwise this question you can
> search on google for a beginner tutorial
>
>
>
> Regards
>
> Sent from my iPhone
>
>
>
> On 16 Mar 2020, at 13:34, Daniel Chiemelu <
> chiemeluchukwuemeka...@gmail.com> wrote:
>
> 
>
> Please I am new in Django and I am finding it difficult to create a
> virtual environment and also install Django and I had a virtual environment
> that I created before using Flask
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
>
>
>
> 
>
> Virus-free. www.avast.com
> 
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5e6fd482.1c69fb81.b9f97.42e4%40mx.google.com
> 
> .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/84A00726-EAF0-4D71-9CB6-2B9A0BD63184%40gmail.com
> 
> .
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5e6fda79.1c69fb81.ee8e8.440a%40mx.google.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJ8iCyM0qLmF2tD%2BNgCuB_58KPLgzttbi8DJTLfGwnqnN4QpJQ%40mail.gmail.com.


RE: Re: Problem

2020-03-16 Thread Daniel Chiemelu
So after creating the virtual environment what is next on installing django Sent from Mail for Windows 10 From: Phako PerezSent: Monday, March 16, 2020 8:42 PMSubject: Re: Problem What’s the problem??? Using python 3 you can create an environment as python3 -m venv my_env Kindly send an error or what is the issue you face while trying to create the env, so will be more easy to help, otherwise this question you can search on google for a beginner tutorial RegardsSent from my iPhoneOn 16 Mar 2020, at 13:34, Daniel Chiemelu  wrote:Please I am new in Django and I am finding it difficult to create a virtual environment and also install Django and I had a virtual environment that I created before using Flask Sent from Mail for Windows 10  Virus-free. www.avast.com -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5e6fd482.1c69fb81.b9f97.42e4%40mx.google.com.-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/84A00726-EAF0-4D71-9CB6-2B9A0BD63184%40gmail.com. 



-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5e6fda79.1c69fb81.ee8e8.440a%40mx.google.com.


Re: Problem

2020-03-16 Thread Phako Perez
What’s the problem???

Using python 3 you can create an environment as

python3 -m venv my_env

Kindly send an error or what is the issue you face while trying to create the 
env, so will be more easy to help, otherwise this question you can search on 
google for a beginner tutorial

Regards

Sent from my iPhone

> On 16 Mar 2020, at 13:34, Daniel Chiemelu  
> wrote:
> 
> 
> Please I am new in Django and I am finding it difficult to create a virtual 
> environment and also install Django and I had a virtual environment that I 
> created before using Flask
>  
> Sent from Mail for Windows 10
>  
> 
>   Virus-free. www.avast.com
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/5e6fd482.1c69fb81.b9f97.42e4%40mx.google.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/84A00726-EAF0-4D71-9CB6-2B9A0BD63184%40gmail.com.


Problem

2020-03-16 Thread Daniel Chiemelu
Please I am new in Django and I am finding it difficult to create a virtual environment and also install Django and I had a virtual environment that I created before using Flask Sent from Mail for Windows 10 

	

		Virus-free. www.avast.com
		
	
 



-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5e6fd482.1c69fb81.b9f97.42e4%40mx.google.com.


Re: How To Send Json data To Django

2020-03-16 Thread Harsh Tibrewal
if you send the code snippet i can help 

On Friday, March 13, 2020 at 9:27:28 PM UTC+5:30, venna venkatReddy wrote:
>
> Hi i am learing django, so i decided to do one small project on django is 
> that Exam type website.
>
> I Need Help, Regrading How To Send Json data To Django  
>
> when i entering the question and answers from fronend. I successfult 
> stored on Local Storage in json formate, But Once click on clikc on submit 
> buten its need to send to backend models, 
>
> How to send to that json local storaga json data to bakend 
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b547079c-2886-4540-84d6-ada4d9982951%40googlegroups.com.


Re: Django and AWS backend MENTOR NEEDED

2020-03-16 Thread Harsh Tibrewal
yes i can help with flutter apps


On Saturday, March 14, 2020 at 6:58:06 PM UTC+5:30, Makori Breens. wrote:
>
> Hey bro,can you help in customizing open source app?
>
> On Saturday, March 14, 2020, Ousseynou Diop  > wrote:
>
>> Hello how i can help you ?
>> You can reach out to me here @xarala221 https://ousseynoudiop.com 
>> 
>> Le vendredi 13 mars 2020 20:48:59 UTC, Harsh Tibrewal a écrit :
>>>
>>> Hi, I have been trying to learn django and AWS for backend of my mobile 
>>> applications. However, all my learnig is currently based on open source 
>>> youtube and and other forums. There are errors that I get stuck with and 
>>> need help to resolve them. Please someone be my mentor and guide. This will 
>>> help me learn it faster and I will be happy to work for you on your 
>>> projects etc.
>>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/004e81db-1ff5-4e31-aeb5-3f22de91a88c%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/096c8315-aa05-4e21-ab52-3f1ed04207d4%40googlegroups.com.


Re: http post request 415: unsupportesd media

2020-03-16 Thread Harsh Tibrewal
leave it found the error and fixed actually i had to pass a header in it 
and format the data properly

On Monday, March 16, 2020 at 10:00:44 PM UTC+5:30, Onyore Daniel wrote:
>
> working on it
>
> On Monday, March 16, 2020 at 1:57:06 PM UTC+3, Harsh Tibrewal wrote:
>>
>> I am trying to send a post request in django rest API with mongoengine, 
>> while sending a POST request with the following data an 415 status code is 
>> returned
>>
>> {
>>   orderId: sample2,
>>   restaurantId: cartssj,
>>   dateTime: fdsfd,
>>   status: pending,
>>   cartItems: [
>> {
>>   "itemId": "1001",
>>   "itemName": "Onion",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "78"
>> },
>> {
>>   "itemId": "1002",
>>   "itemName": "Potato",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "35"
>> },
>> {
>>   "itemId": "1003",
>>   "itemName": "Carrot",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "78"
>> },
>> {
>>   "itemId": "1004",
>>   "itemName": "Toamto",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "90"
>> }
>>   ],
>>   total: 281.0
>> }
>>
>> the models have been defined as follows ini django:
>>
>>
>> from django.db import models
>> from mongoengine import Document,fields,EmbeddedDocument,
>> EmbeddedDocumentListField
>>
>>
>> class CartItem(EmbeddedDocument):
>> itemId = fields.StringField(max_length=254,uniique=True)
>> itemName = fields.StringField(max_length=254)
>> requestedQty = fields.StringField(max_length=100)
>> fulfilledQty = fields.StringField(max_length=100)
>> pricePerUnit = fields.StringField(max_length=100)
>>
>>
>>
>>
>>
>>
>> class Order(Document):
>> orderId = fields.StringField(max_length=254)
>> restaurantId = fields.StringField(max_length=100)
>> dateTime = fields.StringField(max_length=254)
>> status = fields.StringField(max_length=254)
>> cartItems = fields.EmbeddedDocumentListField(CartItem)
>> total = fields.StringField(max_length=254)
>> meta = {'collection': 'orders'}
>>
>>
>> PLease help me solve this error
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a32af695-25ba-4942-93e6-92bc7a83f04b%40googlegroups.com.


Re: http post request 415: unsupportesd media

2020-03-16 Thread Harsh Tibrewal
Hi, iwas able to get the right format of json to be passed finally but
still django returns an  415 Unsupported Media Type Error
the following data is passed, it is the right format and is getting added
when using the restframework raw data form but not getting added from post
request

{
  "orderId": "sample2",
  "restaurantId": "cartssj",
  "dateTime": "fdsfd",
  "status": "pending",
  "cartItems": [
{
  "itemId": "1001",
  "itemName": "Onion",
  "requestedQty": "1",
  "fulfilledQty": "1",
  "pricePerUnit": "78"
},
{
  "itemId": "1002",
  "itemName": "Potato",
  "requestedQty": "1",
  "fulfilledQty": "1",
  "pricePerUnit": "35"
}
  ],
  "total": "113.0"
}

On Mon, Mar 16, 2020 at 10:00 PM Onyore Daniel 
wrote:

> working on it
>
> On Monday, March 16, 2020 at 1:57:06 PM UTC+3, Harsh Tibrewal wrote:
>>
>> I am trying to send a post request in django rest API with mongoengine,
>> while sending a POST request with the following data an 415 status code is
>> returned
>>
>> {
>>   orderId: sample2,
>>   restaurantId: cartssj,
>>   dateTime: fdsfd,
>>   status: pending,
>>   cartItems: [
>> {
>>   "itemId": "1001",
>>   "itemName": "Onion",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "78"
>> },
>> {
>>   "itemId": "1002",
>>   "itemName": "Potato",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "35"
>> },
>> {
>>   "itemId": "1003",
>>   "itemName": "Carrot",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "78"
>> },
>> {
>>   "itemId": "1004",
>>   "itemName": "Toamto",
>>   "requestedQty": "1",
>>   "fulfilledQty": "1",
>>   "pricePerUnit": "90"
>> }
>>   ],
>>   total: 281.0
>> }
>>
>> the models have been defined as follows ini django:
>>
>>
>> from django.db import models
>> from mongoengine import Document,fields,EmbeddedDocument,
>> EmbeddedDocumentListField
>>
>>
>> class CartItem(EmbeddedDocument):
>> itemId = fields.StringField(max_length=254,uniique=True)
>> itemName = fields.StringField(max_length=254)
>> requestedQty = fields.StringField(max_length=100)
>> fulfilledQty = fields.StringField(max_length=100)
>> pricePerUnit = fields.StringField(max_length=100)
>>
>>
>>
>>
>>
>>
>> class Order(Document):
>> orderId = fields.StringField(max_length=254)
>> restaurantId = fields.StringField(max_length=100)
>> dateTime = fields.StringField(max_length=254)
>> status = fields.StringField(max_length=254)
>> cartItems = fields.EmbeddedDocumentListField(CartItem)
>> total = fields.StringField(max_length=254)
>> meta = {'collection': 'orders'}
>>
>>
>> PLease help me solve this error
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a6529746-9471-4f98-9d4c-bf6b508bb0b3%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALXtbmvAm6G0S8phhKhgXu8D0D_F2HeNUQjkeBbo%2BnGiGwiW0w%40mail.gmail.com.


why this serializer class is here

2020-03-16 Thread sagar ninave



I want to know why this serializes class here we can write it in separate 
file too so why here?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e2cf208d-7be0-486f-9d3f-d5bf13cc7546%40googlegroups.com.


i am trying to show the uploaded picture in html file but it's not showing there. #error d.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found) in inspecting element

2020-03-16 Thread chander shekher
#html file

{% load static %}


  





https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css; 
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
 crossorigin="anonymous">

Market Homepage
  
  .col-md-3
  {
  display:inline-block;
  margin-left:-4x;
  }
   .col-md-3
   {
   width:100%;
   height:auto;
   }
   body .corousel-indiator li{
   background-color:red;
   }
   body .corousel-control-prev-icon;
   body .corousel-control-next-icon{
background-color:blue;
   }
   body .no-padding{
   padding -left:0;
   padding -right:0;
   }

  
  
  
We Come ,When You Hustle



  Hustlers
  

  
  

  
Home (current)
  
  
about
  
  
contact info
  
  
Disabled
  

  
  

Search
  



  Csp Site Hope so you are having fun with it
  

  

Travello
 your username is {{ user.username }}
{% if user.is_authenticated %}
your email is {{user.email}}
your first name is {{user.first_name}}
your last name is {{user.last_name}}
your pic is {{user.userimage.image.url}}
  
your pic is

your age is {{user.extendeduser.age}}
{% endif %}

{% block content %}

{% endblock %}




https://rohandas28.github.io/;>mast visual website on 
github
  https://code.jquery.com/jquery-3.4.1.slim.min.js"; 
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
 crossorigin="anonymous">
https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"; 
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
 crossorigin="anonymous">
https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"; 
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
 crossorigin="anonymous">
  






#views.py


user=User.objects.create_user(username=username,password=password,first_name=first_name,last_name=last_name,email=email,)
#user.save();
image=request.POST['image']
extended=userimage(image=image,user=user)
extended.save()
user = auth.authenticate(username=username, password=password)
auth.login(request, user)
print("user created")
return redirect('/travello')



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/571d7a65-d5c4-4851-92d7-58aa9c632b77%40googlegroups.com.


Re: http post request 415: unsupportesd media

2020-03-16 Thread Onyore Daniel
working on it

On Monday, March 16, 2020 at 1:57:06 PM UTC+3, Harsh Tibrewal wrote:
>
> I am trying to send a post request in django rest API with mongoengine, 
> while sending a POST request with the following data an 415 status code is 
> returned
>
> {
>   orderId: sample2,
>   restaurantId: cartssj,
>   dateTime: fdsfd,
>   status: pending,
>   cartItems: [
> {
>   "itemId": "1001",
>   "itemName": "Onion",
>   "requestedQty": "1",
>   "fulfilledQty": "1",
>   "pricePerUnit": "78"
> },
> {
>   "itemId": "1002",
>   "itemName": "Potato",
>   "requestedQty": "1",
>   "fulfilledQty": "1",
>   "pricePerUnit": "35"
> },
> {
>   "itemId": "1003",
>   "itemName": "Carrot",
>   "requestedQty": "1",
>   "fulfilledQty": "1",
>   "pricePerUnit": "78"
> },
> {
>   "itemId": "1004",
>   "itemName": "Toamto",
>   "requestedQty": "1",
>   "fulfilledQty": "1",
>   "pricePerUnit": "90"
> }
>   ],
>   total: 281.0
> }
>
> the models have been defined as follows ini django:
>
>
> from django.db import models
> from mongoengine import Document,fields,EmbeddedDocument,
> EmbeddedDocumentListField
>
>
> class CartItem(EmbeddedDocument):
> itemId = fields.StringField(max_length=254,uniique=True)
> itemName = fields.StringField(max_length=254)
> requestedQty = fields.StringField(max_length=100)
> fulfilledQty = fields.StringField(max_length=100)
> pricePerUnit = fields.StringField(max_length=100)
>
>
>
>
>
>
> class Order(Document):
> orderId = fields.StringField(max_length=254)
> restaurantId = fields.StringField(max_length=100)
> dateTime = fields.StringField(max_length=254)
> status = fields.StringField(max_length=254)
> cartItems = fields.EmbeddedDocumentListField(CartItem)
> total = fields.StringField(max_length=254)
> meta = {'collection': 'orders'}
>
>
> PLease help me solve this error
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a6529746-9471-4f98-9d4c-bf6b508bb0b3%40googlegroups.com.


Crime Prediction System

2020-03-16 Thread Onyore Daniel
Hey,
anyone with source code for crime prediction system, kindly send me a 
downloaded link.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f7b20cc5-677a-4f98-90cf-af26c5d883f8%40googlegroups.com.


Re: I AM getting this error plss help me

2020-03-16 Thread Jorge Gimeno
To be pedantic, the object is None.  It's a known issue with Powershell on
Windows.

-Jorge.

On Sun, Mar 15, 2020, 10:12 PM maninder singh Kumar <
maninder.s.ku...@gmail.com> wrote:

> The object is empty
>
>
> [image: --]
>
> Maninder Kumar
> [image: http://]about.me/maninder.s.kumar
> 
>
>
>
>
> On Sat, Mar 14, 2020 at 5:56 PM surendra ediga 
> wrote:
>
>> Traceback (most recent call last):
>>   File "C:\Users\Asus\projects\manage.py", line 21, in 
>> main()
>>   File "C:\Users\Asus\projects\manage.py", line 17, in main
>> execute_from_command_line(sys.argv)
>>   File
>> "C:\Users\Asus\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\__init__.py",
>> line 401, in execute_from_command_line
>> utility.execute()
>>   File
>> "C:\Users\Asus\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\__init__.py",
>> line 395, in execute
>> self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File
>> "C:\Users\Asus\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\__init__.py",
>> line 244, in fetch_command
>> klass = load_command_class(app_name, subcommand)
>>   File
>> "C:\Users\Asus\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management\__init__.py",
>> line 38, in load_command_class
>> return module.Command()
>> AttributeError: 'NoneType' object has no attribute 'Command'
>> PS C:\Users\Asus\projects>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/df235239-985c-413b-a5d4-1ab5a3c5e69f%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABOHK3TDq6AfmtD%2B9GfmhQKAGayXq9MkGaLb%2Bjs%3Dp9zjVFhuGQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANfN%3DK-6VTjrDubmTiRwQoWyb2x_CroUneeE3y%3DhJS_d9whecw%40mail.gmail.com.


http post request 415: unsupportesd media

2020-03-16 Thread Harsh Tibrewal
I am trying to send a post request in django rest API with mongoengine, 
while sending a POST request with the following data an 415 status code is 
returned

{
  orderId: sample2,
  restaurantId: cartssj,
  dateTime: fdsfd,
  status: pending,
  cartItems: [
{
  "itemId": "1001",
  "itemName": "Onion",
  "requestedQty": "1",
  "fulfilledQty": "1",
  "pricePerUnit": "78"
},
{
  "itemId": "1002",
  "itemName": "Potato",
  "requestedQty": "1",
  "fulfilledQty": "1",
  "pricePerUnit": "35"
},
{
  "itemId": "1003",
  "itemName": "Carrot",
  "requestedQty": "1",
  "fulfilledQty": "1",
  "pricePerUnit": "78"
},
{
  "itemId": "1004",
  "itemName": "Toamto",
  "requestedQty": "1",
  "fulfilledQty": "1",
  "pricePerUnit": "90"
}
  ],
  total: 281.0
}

the models have been defined as follows ini django:


from django.db import models
from mongoengine import Document,fields,EmbeddedDocument,
EmbeddedDocumentListField


class CartItem(EmbeddedDocument):
itemId = fields.StringField(max_length=254,uniique=True)
itemName = fields.StringField(max_length=254)
requestedQty = fields.StringField(max_length=100)
fulfilledQty = fields.StringField(max_length=100)
pricePerUnit = fields.StringField(max_length=100)






class Order(Document):
orderId = fields.StringField(max_length=254)
restaurantId = fields.StringField(max_length=100)
dateTime = fields.StringField(max_length=254)
status = fields.StringField(max_length=254)
cartItems = fields.EmbeddedDocumentListField(CartItem)
total = fields.StringField(max_length=254)
meta = {'collection': 'orders'}


PLease help me solve this error

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8ab159eb-ea85-4b5f-9577-9216b105a0d7%40googlegroups.com.