Re: cannot import path in urls

2019-10-02 Thread Taylor Hughes-Scott
Hi, You will need to make the change in both urls.py files that you have created. Regards, On Thu., 3 Oct. 2019, 3:36 pm MEGA NATHAN, wrote: > Hi. > In which file i rewrite app/urls are main file url i write... > > > > > > *Regards* > Meganathan G > > > > On Thu, Oct 3, 2019 at 10:21

Re: cannot import path in urls

2019-10-02 Thread Taylor Hughes-Scott
Hi, It looks like you aren't importing path from the right location in your urls.py file, try the following import to see if that resolves your issue. from django.urls import path Regards, On Thu., 3 Oct. 2019, 2:33 pm MEGA NATHAN, wrote: > Hi. > > > i'm meganathan beginer for django > >

Re: why-do-i-get-an-error-about-importing-django-settings-module

2019-06-25 Thread Taylor Hughes-Scott
Based on the screenshots, that is not an error. That is just the standard django code that your seeing. It trying to import settings and if they don't exist then it will show that error. I recommend going through the django tutorial https://docs.djangoproject.com/en/2.2/intro/tutorial01/ On Tue.,

Re: How can I send an outlook mail from angular using django

2019-06-12 Thread Taylor Hughes-Scott
I'm not so sure about sending outlook email through django. However i do know django has a basic email sending built in have you had a look at that? https://docs.djangoproject.com/en/2.2/topics/email/ On Thu., 13 Jun. 2019, 10:41 am Sai Aravind, wrote: > How can I send an outlook mail from angul

Re: parse xml from url to database

2019-06-12 Thread Taylor Hughes-Scott
Are you able to provide an example url or xml file. That would help to figure out why no listings are created. On Thu., 13 Jun. 2019, 9:04 am Ewen Le Bihan, wrote: > Hi, where does prof.xml_ky comes from ? > > Le mercredi 12 juin 2019 18:22:01 UTC+2, Nuno Vieira a écrit : >> >> Hi there. >> >>

Re: Django model form is not getting saved in Postgresql database

2019-06-03 Thread Taylor Hughes-Scott
No problem. Glad you got it sorted. On Tue., 4 Jun. 2019, 8:16 am Ankhi Roy, wrote: > Hey, > > Nevermind I have solved the problem. > I was in an impression that I need to create a seperate database > equivalent to django model form. Then realised that Django automatically > creates a database t

Re: Django model form is not getting saved in Postgresql database

2019-06-03 Thread Taylor Hughes-Scott
With your form.save() call try passing commit=True so it looks like form.save(commit=True) On Tue., 4 Jun. 2019, 1:39 am Ankhi Roy, wrote: > Hi, > > I am using Django admin - 2.2.1 and Postgresql as my database. So my > problem is I have saved the user entered data in form.py on "POST" Request >