Deploying django in plesk

2021-08-25 Thread frank galan
Hi everybody. I've already deployed my app in Plesk, but the process is incomplete, . The static files not working, I mean the app can not read them. I know I need put them in the right position, but I can not achieve. Any help is welcome thanks a lot in advance -- You received this message becau

Re: Hi group am new here

2021-04-04 Thread frank galan
It is not a translation from spanish at all, may be should came from another language, or it is an incomplete question and he was mean machine learning, could be? El dom, 4 abr 2021 a las 21:24, Kasper Laudrup () escribió: > On 04/04/2021 12.08, believeme mum007 wrote: > > > > Please i will be h

Re: ListView , Need Help !

2021-04-04 Thread frank galan
Could you show your html and css code ? El dom, 4 abr 2021 a las 16:57, ICT Giants Uganda () escribió: > You can also look into using bootstrap css. > > On Sun, Apr 4, 2021 at 8:01 AM 'Amitesh Sahay' via Django users < > django-users@googlegroups.com> wrote: > >> This is related to front-end codi

Hello mates

2021-03-29 Thread frank galan
Im catching a model in a select, using ajax to request, so Im receiving an error I can,t solve Im get an empty dict, the error is : error: "'str' object has no attribute 'toJSON'". Its occurrs when I try to print the data in console I created a function into the model to convert this in dict, la

Re: hi mates trouble with ajax 500 error server

2021-03-28 Thread frank galan
Thanks a lot, you're right. I solved it. Thanks El dom, 28 mar 2021 a las 0:57, Kasper Laudrup () escribió: > On 27/03/2021 21.41, frank galan wrote: > > thanks, here is the server error response > > > > NameError: name 'JsonResponse' is not defined > &g

Re: hi mates trouble with ajax 500 error server

2021-03-27 Thread frank galan
acion/proyectos_django/localsys/backoffice/views/sold.py", line 72, in post return JsonResponse(data, safe=False) NameError: name 'JsonResponse' is not defined [27/Mar/2021 20:39:37] *"POST /dashboard/backoffice/new_sold HTTP/1.1" 500 96481* El sáb, 27 mar 2021 a las

hi mates trouble with ajax 500 error server

2021-03-27 Thread frank galan
Im receiving a 500 server error, when I trying to obtain data wiith ajax from my model. My details are as follows: *Model:* class Item(models.Model): """Items Product model""" operation = models.ForeignKey(Operation, on_delete=models.CASCADE) brand = models.ForeignKey(Brand, on_del