Re: cannot import path in urls

2019-10-02 Thread MEGA NATHAN
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 AM Suraj Thapa FC wrote: > In urls.py > Write > from django.urls import path > > On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN, > wrote: > >> Hi. >> >> >> i'm

Re: Django 2.2.6 fails to serve some static files in Windows 10

2019-10-02 Thread Ajeet Kumar Gupt
Hi, Use the below code href="{% static 'css/styles.css' %}" On Wed, Oct 2, 2019 at 8:06 PM red sky wrote: > My system: Windows 10 1903. Python 3.7.4, 64 bit. > > My directory structure: > %USERPROFILE%/Desktop/myproject/manage.py > %USERPROFILE%/Desktop/myproject/some_app (...) >

Re: cannot import path in urls

2019-10-02 Thread Sarvesh singh
In urls.py file .. First import- from django.urls import path Than use it. .. In django 2.2 On Thu, Oct 3, 2019, 10:02 AM MEGA NATHAN wrote: > Hi. > > > i'm meganathan beginer for django > > urls cannot import for path . how to reslove > > -- > You received this message because you

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: cannot import path in urls

2019-10-02 Thread Suraj Thapa FC
In urls.py Write from django.urls import path On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN, wrote: > Hi. > > > i'm meganathan beginer for django > > urls cannot import for path . how to reslove > > -- > You received this message because you are subscribed to the Google Groups > "Django

Re: Django 2.2.6 fails to serve some static files in Windows 10

2019-10-02 Thread Desh Deepak
You need to edit external css link: Solution: href="{% static 'css/styles.css' %}" Regards: Desh Deepak +917011101001 deshdeepak...@gmail.com On Wed, 2 Oct 2019, 21:37 red sky, wrote: > My system: Windows 10 1903. Python 3.7.4, 64 bit. > > My directory structure: >

ListView from 2 model

2019-10-02 Thread Yann Mbella
hi everyone, I got a problem in listing two models from a listview that is, a list of one model and another model together (eg Books and Authors) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Can Django support chunked file uploads without a Content-Length header?

2019-10-02 Thread Nick Sarbicki
I'm working on a Django API which receives audio files and some extra POST data and then processes the file. This was initially in Flask, but Django suits the overall project better so we're migrating. However we've run into a snag. Currently the audio file is sent via node.js, with the

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-10-02 Thread Dilipkumar Noone
Hi, Can some one please share where to place a chrome driver [.exe] file in a django project which launches a webpage to perform click operations using selenium. Please share any document or videos for the same, Regards, N.Dilip kumar. On Wed, Oct 2, 2019 at 3:15 PM Dilipkumar Noone wrote: >

Bug? django fails to serve static files in Windows 10

2019-10-02 Thread red sky
my system: Windows 10 1903, Python 3.7.4, 64 bit My directory structure %USERPROFILE%/Desktop/myproject/manage.py %USERPROFILE%/Desktop/myproject/some_app/(...) %USERPROFILE%/Desktop/myproject/myproject/sqlite3.db %USERPROFILE%/Desktop/myproject/myproject/static (...)

Django 2.2.6 fails to serve some static files in Windows 10

2019-10-02 Thread red sky
My system: Windows 10 1903. Python 3.7.4, 64 bit. My directory structure: %USERPROFILE%/Desktop/myproject/manage.py %USERPROFILE%/Desktop/myproject/some_app (...) %USERPROFILE%/Desktop/myproject/myproject/db.sqlite3 %USERPROFILE%/Desktop/myproject/myproject/urls.py

Re: I want to know about how to implement elastic search in the python django

2019-10-02 Thread Sithembewena L. Dube
https://www.youtube.com/watch?v=cXYVE28igkE Kind regards, Sithembewena *Sent with Shift * On Wed, Oct 2, 2019 at 5:08 PM sachinbg sachin wrote: >

I want to know about how to implement elastic search in the python django

2019-10-02 Thread sachinbg sachin
Implimentaion of elastic search in django python how to do that any documents demo projects thanks in advance -- 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: how to add the html and css

2019-10-02 Thread challa.Harikrishna chowdary
thanks On Wed, Oct 2, 2019 at 5:02 PM The Programmer wrote: > create file css, and import in your index.html > > Le mercredi 2 octobre 2019 10:49:06 UTC+1, challa.Harikrishna chowdary a > écrit : >> >> In djnago how to add the html and css in my project >> >> -- > You received this message

Re: how to add the html and css

2019-10-02 Thread The Programmer
create file css, and import in your index.html Le mercredi 2 octobre 2019 10:49:06 UTC+1, challa.Harikrishna chowdary a écrit : > > In djnago how to add the html and css in my project > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: how to add the html and css

2019-10-02 Thread Deep Sukhwani
You're all in for luck, Django's official tutorial has quite an explanation on this, check this out: Customize your App's look and feel

how to add the html and css

2019-10-02 Thread challa.Harikrishna chowdary
In djnago how to add the html and css in my project -- 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

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-10-02 Thread Dilipkumar Noone
Dear Deep L Sukhwani, The below statement clarifies my doubt. Here, your Django app is running on a different process and you are triggering

Re: Entire Application in Django shuts down with single error

2019-10-02 Thread Andréas Kühne
Hi, You shouldn't use runserver in production - that's not what it's for. So first read how to deploy django in production. When in production, you don't deploy code that doesn't work - so that means that you won't get this issue. You shouldn't work on live working websites - that's not how you

Re: AttributeError

2019-10-02 Thread Daniel Hepper
You have a typo in your details view: question=Question.object.get( Should be: question=Question.objects.get( Cheers, Daniel > Am 02.10.2019 um 06:38 schrieb Jorge Gimeno : > >  > > >> On Tue, Oct 1, 2019 at 9:24 PM yasar arafath Kajamydeen >> wrote: >> Hi , >> >> While try to execute