Enable Cron task, interval task not work Celery Beat

2019-03-17 Thread thanh . nguyenba0611
My Django Web has interval task type and cron task type. When i disable cron task type, interval task type work. But when i enable cron task type, cron task type work and interval task not work. I run celery beat and celery worker with supervisor. And i'm sure service beat running Version c

Re: In my django web app i wannt show time in user timezone

2018-12-07 Thread thanh . nguyenba0611
Hello, I think you can use "request.META" django. (request.META['TZ']). It is timezone user submit request. :D On Saturday, December 8, 2018 at 8:39:29 AM UTC+7, Deniz Bazan wrote: > > Hello everybody, > I have a django web app, in my app i want to show in the page where the > time informati

Re: Django URL problem

2018-12-07 Thread thanh . nguyenba0611
It can be like {% url 'email' %} (incorrect) => {% url 'email' %} (correct) :D On Saturday, December 8, 2018 at 2:10:13 AM UTC+7, Kacsándi, Zsolt wrote: > > Hi, > > I am new in Django and I have a problem. > I want to build an URL structure like this: > > https://example.com/1/email > https://ex

Re: Django URL problem

2018-12-07 Thread thanh . nguyenba0611
Hello, I think you are missing ('email/') in template. On Saturday, December 8, 2018 at 2:10:13 AM UTC+7, Kacsándi, Zsolt wrote: > > Hi, > > I am new in Django and I have a problem. > I want to build an URL structure like this: > > https://example.com/1/email > https://example.com/1/email/2 > >

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-28 Thread Thanh Tuyền Huỳnh
Hi guys, You could refer Vuejs. Vào 03:20 T.4, 28 Th11 2018 Simon Connah đã viết: > I'm in the process of building a website in Django and need to make a > specific part of my application dynamic. Because of that I'd like to use > a JavaScript frontend framework to build this portion of the sit

Re: Django 1.9.8 with mysql 'Commands out of sync; you can't run this command now' exception

2018-09-23 Thread thanh
named 'Message' and sometimes when running this code, I >> got the exception 'Commands out of sync; you can't run this command now' >> >> latest_message = >> Message.objects.order_by("-id").filter(example_field=1).first() >> >>

Django 1.9.8 with mysql 'Commands out of sync; you can't run this command now' exception

2018-09-23 Thread thanh
now' latest_message = Message.objects.order_by("-id").filter(example_field=1).first() can you point out to me why does it happen and how to fix it? thanks, Thanh Tran -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

stable releases for 0.97

2010-02-12 Thread Thanh Nguyen
Hi, I'm maintaining a website which was developed based on Django 0.97 (extra packages: basic, tagging). I've searched to get that specific version of Django but no results yet. I've also tried several revisions of Django svn (from 2007-08-01 to 2008-07-22) but still got some errors from backward