Re: Regarding sending the link to reset the password

2020-06-14 Thread Devendra reddy
Thanks to all. On Sun, Jun 14, 2020 at 1:38 AM Kasper Laudrup wrote: > Hi Devendra, > > On 13/06/2020 20.43, Devendra reddy wrote: > > Hi to all > > > > I am working on the api side using python django.now i have the one > > requirement. i want to send the link to reset the password while >

Re: How to use session in django??

2020-06-14 Thread cosmos multi
I use sessions more for what shopping carts are, saving information temporarily. El dom., 14 jun. 2020, 11:36 p. m., meera gangani escribió: > Hello , > How To use session in django > Can you please help me out! > > > Thanks in advance > -Meera Gangani > > -- > You received this message

How to use session in django??

2020-06-14 Thread meera gangani
Hello , How To use session in django Can you please help me out! Thanks in advance -Meera Gangani -- 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: Need help

2020-06-14 Thread RANGA BHARATH JINKA
Hi, You should not load html file directly. You have to include html file inside a view, and call the url linked to that view in urls.py file. You have to use the url to access the view. All the best. On Mon, Jun 15, 2020 at 3:33 AM Yannick Kiki wrote: > {% load static %} should be the

Re: Updating a date field

2020-06-14 Thread Clive Bruton
Apparently the magic is: queryset = Item.edit.filter(**kwargs).update(expires=set_expires (),is_active=True) -- Clive On 14 Jun 2020, at 03:24, Clive Bruton wrote: I am trying to update an existing date field, however when I do that I get the following exception: Exception

Re: Need help

2020-06-14 Thread Yannick Kiki
{% load static %} should be the first line in the template On Sun, Jun 14, 2020 at 20:27 Julio Cojom wrote: > Based on the url of the browser, seems like python isn't interpreting the > HTML file. This url isn't friendly, django not shows ".html" when you > browse inside your app. Are you

Re: Question on migrations vs postgres database

2020-06-14 Thread Ram
Hi, I tried replacing square bracket with % and ran this command the result is returned as follows. Hope I'm not missing anything. I tried to use app name in the command but the result is same. > > (x) xxxenv@2332333223:~/xxx/xxxv$ python3 manage.py reset_migrations >> Traceback (most recent

Re: Need help

2020-06-14 Thread Julio Cojom
Based on the url of the browser, seems like python isn't interpreting the HTML file. This url isn't friendly, django not shows ".html" when you browse inside your app. Are you running with py manage.py runserver? Why the port is 63342? Usualy the port is 8000 unless you explicit changed it. Try

Re: Need help

2020-06-14 Thread Ragnar Örn Ólafsson Ólafsson
Category:{%category%} is being parsed as normal text inside of the HTML. On Sun, 14 Jun 2020 at 19:04, Deborah wrote: > > > Le dimanche 14 juin 2020 20:38:43 UTC+2, Deborah a écrit : >> >> good evening >> the tags that I use in the html file, appear on browsers when I launch >> the server, what

Re: Need help

2020-06-14 Thread Deborah
Le dimanche 14 juin 2020 20:38:43 UTC+2, Deborah a écrit : > > good evening > the tags that I use in the html file, appear on browsers when I launch the > server, what to do ??? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Need help

2020-06-14 Thread Julio Cojom
Show your file please El dom., 14 de junio de 2020 12:38 p. m., Deborah escribió: > good evening > the tags that I use in the html file, appear on browsers when I launch the > server, what to do ??? > > -- > You received this message because you are subscribed to the Google Groups > "Django

Need help

2020-06-14 Thread Deborah
good evening the tags that I use in the html file, appear on browsers when I launch the server, what to do ??? -- 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: I need to know how to optimize this?

2020-06-14 Thread Gs_1001
I am a little bit confused here but let me try. I think all this computation should be done one single time and the result should be store in the database. Whenever these results are required then we straight away fetch from db. I would implement it like this - Keywords would not be full

Django Saving a form with Imagefield on shared host

2020-06-14 Thread MUGOYA DIHFAHSIH
I am working on django project and now i have deployed it with Namecheap When i submit a form that does not have an ImageField, the form submits successfully on the shared host but when i submit a form with one of the fields ImageField, it raises 404 error. but on the localhost, the forms work

Need help in oops django and python

2020-06-14 Thread Karthiki Chowdary
Hi, Please find the attachments. I got an issue while using the dictionary which is used as mixin. In attachment one there is a code which is returning dict, I enchaced the code and passed the mixin to another dict variable because of that existing code is affected. How can I write it as