You can create a custom command using this doc
https://docs.djangoproject.com/en/3.1/howto/custom-management-commands/
Now, you can call it like
python manage.py mycustomcommandname
so in Linux environment you can use crontab (with crontab -e) to execute
the command.
El jue, 1 jul 2021 a las
kindly add the screenshort to enable me see your model
On Thursday, July 1, 2021 at 10:58:40 PM UTC+1 abeer.e...@gmail.com wrote:
> Hi Waqar,
>
> Could you add your models.py and a screenshot or copy of the error you are
> observing?
>
> Thanks!
>
> On Thu, Jul 1, 2021 at 5:31 PM waqar khan
Hi Waqar,
Could you add your models.py and a screenshot or copy of the error you are
observing?
Thanks!
On Thu, Jul 1, 2021 at 5:31 PM waqar khan wrote:
> I have create model class and run success fully
> But Issues add field like stufees ,
> stufess=models.FloatField(),
> right value default
the word urgen is bad, do lot of google boss
On Thursday, July 1, 2021 at 1:28:13 PM UTC+1 arit...@gmail.com wrote:
> Hi,
>
> I will avoid using 'urgent'. The problem is as described above, I want to
> sort my products in ascending or descending price order which will include
> the discount
hello i am new in django i just finish building my first blog and am still
learning to enhance myself,
currently i use php for all my projects. but i needed an advenge
porgarmining language to move to the next level, that is why i pick up
django. my aim is to develop an investment site
*You can check out celery and how to integrate it with django. Once done,
task scheduling is easy,first add your gmail configuration in settings.py
as follows:*
*EMAIL_BACKEND = 'django_smtp_ssl.SSLEmailBackend' *
*EMAIL_USE_TLS = True *
*EMAIL_HOST = 'smtp.gmail.com' *
*EMAIL_HOST_USER =
On 01/07/2021 17.49, Sunday Iyanu Ajayi wrote:
>
> Please I need guidance in setting up Pgagent as a daemon on my ubuntu
https://gist.github.com/v4r15/b246b81ec09c488ebecac4610d975456
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups
Dear Team,
Please I need guidance in setting up Pgagent as a daemon on my ubuntu
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@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
I have create model class and run success fully
But Issues add field like stufees ,
stufess=models.FloatField(),
right value default ,
as soon as reply me
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
can you please send me some code sample that i can achieve through settings
On Thursday, July 1, 2021 at 6:56:39 PM UTC+5:30 sachinb...@gmail.com wrote:
> look for the croon jobs or schedulers that may work,
>
> thank you
> Sachin b.g
>
> On Thu, 1 Jul 2021 at 18:45, divya murugulla wrote:
>
>>
look for the croon jobs or schedulers that may work,
thank you
Sachin b.g
On Thu, 1 Jul 2021 at 18:45, divya murugulla
wrote:
> i cannot use celery suggest me something different
>
> On Thursday, July 1, 2021 at 6:27:51 PM UTC+5:30 aadil1...@gmail.com
> wrote:
>
>> Use *Django-celery*
>>
>> On
i cannot use celery suggest me something different
On Thursday, July 1, 2021 at 6:27:51 PM UTC+5:30 aadil1...@gmail.com wrote:
> Use *Django-celery*
>
> On Thu, 1 Jul, 2021, 6:23 PM divya murugulla,
> wrote:
>
>> HI,
>>
>> I wanted to schedule a email every jan and aug 6 monthly basis without
I remember a python library called django-cron, it's stable in Linux
environments
El jue., 1 de julio de 2021 6:54 a. m., divya murugulla <
divyamurugu...@gmail.com> escribió:
> HI,
>
> I wanted to schedule a email every jan and aug 6 monthly basis without
> celery using settings.py. Can anyone
Use *Django-celery*
On Thu, 1 Jul, 2021, 6:23 PM divya murugulla,
wrote:
> HI,
>
> I wanted to schedule a email every jan and aug 6 monthly basis without
> celery using settings.py. Can anyone help?
>
> once in every 6months mail should be triggered
>
> --
> You received this message because
HI,
I wanted to schedule a email every jan and aug 6 monthly basis without
celery using settings.py. Can anyone help?
once in every 6months mail should be triggered
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
schedule concept
--
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
Hi,
I will avoid using 'urgent'. The problem is as described above, I want to
sort my products in ascending or descending price order which will include
the discount price too if it exists. Right now, if there are two products,
A and B; A being ₹900 and B being ₹1200 too but after discount, ₹
yes, I agree with Kasper please don't use urgent OR very urgent, and
please describe your questions in detail.
from where you getting this *discount_price* and why you using the *price*
key for two different values. (can you check by printing *discount_price*)
fields={
'price':
okay thanks you very much
Le jeu. 1 juil. 2021 à 08:56, Kasper Laudrup a
écrit :
> On 7/1/21 9:14 AM, Théodore KOSSI wrote:
> > How can I do it ?
> >
>
> The exact same way you normally pass arguments to constructors.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message
Hello guys, it's been a while here.
Need some help pls.
I had to override my ListView get_querryset() method to query my posts
according to a given category. But it seem my context is not a list of
objects again as I get this error message: "TypeError: unhashable type:
'slice' " when I try to
I tried to describe the problem but till my capability and it is urgent,
not just for increasing the possibility of getting help. Thank you for your
advice and help.
On Thu, 1 Jul, 2021, 1:30 pm Kasper Laudrup, wrote:
> On 7/1/21 8:03 AM, Aritra Ray wrote:
> > I am facing a problem in including
On 7/1/21 8:03 AM, Aritra Ray wrote:
I am facing a problem in including the discount_price into consideration
when sorting price through the products. Kindly help me to do so. The
below attached files are filters.py, views.py and models.py.
Instead of writing "urgent" in hope it will
On 7/1/21 9:14 AM, Théodore KOSSI wrote:
How can I do it ?
The exact same way you normally pass arguments to constructors.
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2021/jul/01/security-releases/
--
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
Okay, thank you Antonis. I wanted to have a clear understanding how it
works.
On Thu, 1 Jul 2021 at 07:54, Antonis Christofides <
anto...@antonischristofides.com> wrote:
> What if I can copy that cookie (samesite) in developer tools from
> legitimate-site.com and create a new cookie for
How can I do it ?
Le mar. 29 juin 2021 à 13:00, Kasper Laudrup a
écrit :
> On 6/29/21 1:13 PM, Théodore KOSSI wrote:
> > Can I give arguments to HtpResponseRedirect()?
> >
>
> Yes.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message because you are subscribed to the Google
I am facing a problem in including the discount_price into consideration
when sorting price through the products. Kindly help me to do so. The below
attached files are filters.py, views.py and models.py.
Regards,
Aritra
class ProductFilter(django_filters.FilterSet):
sort = OrderingFilter(
27 matches
Mail list logo