Re: How to achieve bulk soft delete in django?

2022-06-16 Thread Ryan Nowakowski
Add a soft delete method to a custom QuerySet, then use that as a custom Manager for your model. https://docs.djangoproject.com/en/4.0/topics/db/managers/#creating-a-manager-with-queryset-methods On June 16, 2022 5:13:29 AM CDT, Sencer Hamarat wrote: >Hi, > >The models delete methods

Re: Can't login with Username

2022-06-16 Thread Ryan Nowakowski
You could use manage.py shell to set the email address of your super user. On June 13, 2022 12:22:30 AM CDT, Sudip Khokhar wrote: >Hi All, > >I am practicing Django since 3 months and recently I encountered an issue >with my practice project as I made a super user and didn't added email to

Re: how to deploy python django project using heroku

2022-06-16 Thread Mike Kilmer
Do you have your codebase tracked in a version tracking system like Github? If you do, then, from within Heroku, you can use the Github integration. On Thursday, June 16, 2022 at 11:01:52 AM UTC-5 maheshb...@gmail.com wrote: > please support me how deploy django project using git and heroku >

Re: variable inside a template

2022-06-16 Thread Antonis Christofides
What you are trying to do is very unusual, and any solution to exactly what you are asking is going to be an ugly hack. So, why do you want to do this? What are these static files that you have in mylist? On 16/06/2022 14.09, luca72.b...@gmail.com wrote: Hello i have a list like: mylist = 

Re: variable inside a template

2022-06-16 Thread Larry Martell
On Thu, Jun 16, 2022 at 4:09 AM luca72.b...@gmail.com wrote: > > Hello i have a list like: > mylist = ['1,png','2.png',3.jpj'] > in the template i do as follow: > {% for o in mylist %} > > {% if "png" in o %} > {{ o }} > > {% else %} > {{o}}

Re:

2022-06-16 Thread Basith
So what exactly is the issue ober here !!? On Thu, Jun 16, 2022, 4:38 PM Abhinandan K wrote: > Here i don't understand what to do is somebody can help me to understand > it in easy way step by step process.. > > The core aim is to match existing customers (stored in an Excel sheet) >

i am facing problem with my project to update data in mysql using django

2022-06-16 Thread rafiur rahman rafit
here is my problem description link in stackoverflow if anyone can help me, i will be gratefull linkproblem link -- You received this message because you are subscribed to the Google Groups "Django

how to deploy python django project using heroku

2022-06-16 Thread Mahesh Ghule
please support me how deploy django project using git and heroku help me deploy on heroku and operation on it ...i am fresher so i dont no how to work on dajngo rest framework please support me -- You received this message because you are subscribed to the Google Groups "Django users" group.

Regarding Django hosting on cPanel hosting Godaddy

2022-06-16 Thread no reply
Hello Django experts, I am facing to host my Django website on cPanel however I made the website on django4 version and python3 version but in my cPanel, it is showing an option for Python3.11 version but could not install Django 4 version on that can anyone help me with this. Thanks Sarada --

python django whatsapp bot to let others to signup to DBs without using html

2022-06-16 Thread yy_chaza
hi, check out this project link: https://stackoverflow.com/questions/72638447/python-django-whatsapp-bot-to-let-others-to-signup-to-dbs-without-using-html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: variable inside a template

2022-06-16 Thread Sencer Hamarat
Don use 'o' as a template variable in the template function Use {% static 'poll/'|add:o %} instead. 16 Haz 2022 Per 14:09 tarihinde luca72.b...@gmail.com < luca72.bertolo...@gmail.com> şunu yazdı: > Hello i have a list like: > mylist = ['1,png','2.png',3.jpj'] > in the template i do as follow:

variable inside a template

2022-06-16 Thread luca72.b...@gmail.com
Hello i have a list like: mylist = ['1,png','2.png',3.jpj'] in the template i do as follow: {% for o in mylist %} {% if "png" in o %} {{ o }} {% else %} {{o}} {% endif %} {% endfor %} in the template i see the file

[no subject]

2022-06-16 Thread Abhinandan K
Here i don't understand what to do is somebody can help me to understand it in easy way step by step process.. The core aim is to match existing customers (stored in an Excel sheet) against Google Maps entries, to detect existing customers and distinguish them from new potential customers.

How to achieve bulk soft delete in django?

2022-06-16 Thread Sencer Hamarat
Hi, The models delete methods overridden by default and has a soft delete mechanizm. I need to add bulk soft delete to the application. I can achieve this with iterating over objects to call the soft delete method. But the actual need is, soft delete objects filtered by id in bulk way. Can I do