Watch this video on how to schedule a task or function in your Django
project, I’m sure it will have the answer to your question:
https://youtu.be/t0xHlgWQvAk
On Sat, 12 Jun 2021 at 08:54, Ayser shuhaib
wrote:
> https://youtu.be/t0xHlgWQvAk
>
>
> On Sat, 12 Jun 2021 at 08:53, Ayser shuhaib
>
https://youtu.be/t0xHlgWQvAk
On Sat, 12 Jun 2021 at 08:53, Ayser shuhaib
wrote:
> Watch this video on how to schedule a task or function in your Django
> project, I’m sure it will have the answer to your question:
>
>
>
>
> On Sat, 12 Jun 2021 at 08:41, Eugene TUYIZERE
> wrote:
>
>> Thank you
Watch this video on how to schedule a task or function in your Django
project, I’m sure it will have the answer to your question:
On Sat, 12 Jun 2021 at 08:41, Eugene TUYIZERE
wrote:
> Thank you for recommendations,
>
> Because I never use this Celery-beat, if possible you can give some sampl
Thank you for recommendations,
Because I never use this Celery-beat, if possible you can give some sample
for example for someone who used it before
thanks
On Sat, 12 Jun 2021 at 06:36, Nikeet NA wrote:
> You should use celery for running cron jobs.
>
> On Friday, 11 June 2021 at 19:49:41 UTC+
Thanks for the help. That was the problem, I had django 3.0. I just
upgraded it.
On Saturday, June 12, 2021 at 3:09:45 AM UTC+5:30 jacobgr...@gmail.com
wrote:
> Looks like only django 3.2 uses PyMemcacheCache.
> Try:
> "django.core.cache.backends.memcached.MemcachedCache"
>
> Also, make sure yo
Hello,
I am trying to migrate changes to my models. When I do, I get a traceback
error to my Employee model which says
Traceback (most recent call last):
File "manage.py", line 22, in
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File
"C:\Users\gu
You should use celery for running cron jobs.
On Friday, 11 June 2021 at 19:49:41 UTC+5:30 kells...@gmail.com wrote:
>
> What I would do in such case, is to write a function somewhere that checks
> if a user applied for a leave, then check if the leave time is within a
> day, then do whatever yo
Glad to be of help. Sometimes it just takes a fresh pair of eyes.
On Fri, 2021-06-11 at 17:33 -0500, frank dilorenzo wrote:
> I hate to sound corny but you sir are my hero!. Thanks, it all
> works now
>
> frank-
>
>
> On Fri, Jun 11, 2021 at 2:43 PM Adam Stein wrote:
> > Since you said 3 se
hi django users ,i wanna record a video with raspberry pi camera module
just click the app interface button and then the camera starts recording,
who has an idea about it!
thnx
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fr
I hate to sound corny but you sir are my hero!. Thanks, it all works now
frank-
On Fri, Jun 11, 2021 at 2:43 PM Adam Stein wrote:
> Since you said 3 separate apps, I assume each of these classes are in a
> separate file. However, you have the line:
>
> from .models import Supplier
>
> which
Looks like only django 3.2 uses PyMemcacheCache.
Try:
"django.core.cache.backends.memcached.MemcachedCache"
Also, make sure you are using the docs for the correct version of django:
For example:
https://docs.djangoproject.com/en/3.0/topics/cache/
instead of:
https://docs.djangoproject.com/en/3.2
The backtrace is pretty clear..
Here's the import part:
File "C:\Users\GEMINI INNOVATIONS\Documents\WEB DEV TUTOR FULL
STACK\django_project_boilerplate-master\ECOMMERCE\core\templatetags\cart_template_tags.py",
line 13, in cart_item_count return qs[0].items.count()
"qs" is probably an empty list
Hello,
Please help with the following error
settings.py
CACHES = {
"default": {
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': '127.0.0.1:11211'
}
}
#CACHE_MIDDLEWARE_ALIAS = "teut_cache"
#CACHE_MIDDLEWARE_SECONDS = 500
#CACHE_MIDDLEWAR
Sorry , I should have posted the template
well, the error is, hmm,
suppose you are at page 1 , now you clicked next and you got to page 2
and the `post` method is hit. It will get page number as 2. But for
formset , the initial data will have to be compared with page "1" s data
not "2". I
Since you said 3 separate apps, I assume each of these classes are in a
separate file. However, you have the line:
from .models import Supplier
which would make it seem that Supplier is defined in the same file as
Shipment. Shipment should be in ".models" and if Supplier is also
defined in the s
Hello, I have 3 separate app as follow:
from django.db import models
# Create your models here.
# Supplier can have many shipments
class Supplier(models.Model):
name = models.CharField(max_length=120, null=True)
phone = models.CharField(max_length=15, null=True)
email = models.CharField(max_leng
PLS IM WORKING ON THIS CAN ANYONE HELP FIX THE ERROR
Environment: Request Method: GET Request URL: http://127.0.0.1:8000/ Django
Version: 3.1.4 Python Version: 3.9.0 Installed Applications:
['django.contrib.admin',
'django.contrib.auth', 'django.contrib.contenttypes',
'django.contrib.sessions'
Hello - I'm moving from a more archaic platform and am still green to
Django.
I have created my models. The makemigrations runs and subsequently migrate
completes. Then when I try to enter data in the shell, it says my column
names do not exist. I added the classes to the admin.site.register([
>
> possibly you are requesting with the same pan id again
>
>
--
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
What I would do in such case, is to write a function somewhere that checks
if a user applied for a leave, then check if the leave time is within a
day, then do whatever you want, like setting is_active to False. Then set
the cron job to run this function every day, every hour, or however you'd
like
This will help you
https://pypi.org/project/django-celery-beat/
On Fri, Jun 11, 2021, 5:34 PM Eugene TUYIZERE
wrote:
> Dear Team,
>
> In my application, I want a user to set for example a leave plan in the
> system and the system notify the user by email for example one day before
> the start
Dear Team,
In my application, I want a user to set for example a leave plan in the
system and the system notify the user by email for example one day before
the start leave date. At the same time the system disables the user in the
system. Here I have a field *is_active *and I want the system to s
Hello,
I am consistently getting this bizarre error and formset_invalid is getting
triggered.
I just tried to make a generic ListFormSetView.
[11/Jun/2021 12:48:24] "GET /adminuser/print-report/?page=1 HTTP/1.1" 200
5244
[{'PAN_ID': ['User with this Pan ID already exists.']}]
[11/Jun/2021 12:5
23 matches
Mail list logo