Re: Django to serve JSON: overkill?

2018-10-28 Thread Charley Paulus
Hi Eric, Yes that helps a lot. I have data models and related DB. I’ll go with Django. Thanks. Best regards, Charley -- 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

Django to serve JSON: overkill?

2018-10-27 Thread Charley Paulus
Hi, Is it overkill to use Django just to dispatch url requests and to reply with JSON (i.e. not using at all the HTML template engine)? Thanks. Best regards, Charley -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Trigger actions independently of url request

2018-10-27 Thread Charley Paulus
Hi Joel, Thanks for sharing your experience. That’s perfect. This way I can make use of my Django models in the script called by cron. Best regards, Charley Paulus +1 917 692 2645 > On Oct 26, 2018, at 22:22, Joel wrote: > > There's nothing that prevents you from doing the necessar

Re: Trigger actions independently of url request

2018-10-22 Thread Charley Paulus
12:08, Charley Paulus > wrote: > > After reading the Django tutorial, my understanding (I hope I’m wrong) > is that the only way to trigger a function of a Django app is when someone > on the client side request the url related to that function. > > That is correct. A v

Trigger actions independently of url request

2018-10-22 Thread Charley Paulus
Hi, After reading the Django tutorial, my understanding (I hope I’m wrong) is that the only way to trigger a function of a Django app is when someone on the client side request the url related to that function. But what if I want the server to run a function indenpendently of a url call, for