Re: translat using oscar framework

2022-01-05 Thread Julio Cojom
Hi, You need to understand what are you doing, Oscar documentation put it really simple. First create a directory inside your project called i18n and locale Then create a symbolic link to Oscar package so manage.py makemessages can find translatable strings. For the last step, you need to

Re: translat using oscar framework

2022-01-05 Thread frank lucky
hi thanks for you time i use this mklink /d %PATH_TO_OSCAR/oscar but i get this error (oscar) PS C:\Users\faramarz\Desktop\uniqemug-os> mklink /d %PATH_TO_OSCAR/oscar mklink : The term 'mklink' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the

Re: sending mails

2022-01-05 Thread Kasper Laudrup
On 05/01/2022 14.16, Rey Ondiyo wrote: Hello i'm sending mails, I use a mail configured via cpanel, in my django application but i have this mistake ConnectionRefusedError at / register [WinError 10061] No connection could be made because the target computer expressly refused it I have

Re: send an invite to the user

2022-01-05 Thread Kasper Laudrup
On 05/01/2022 07.18, Kakasaheb Jumbad wrote: how to invite the user to accept and reject the invition via email The same way as you'd get the user to reject and accept the invitation, only the other way around. Quite simple actually. Kind regards, Kasper Laudrup -- You received this

Re: HTTPS on development enviroment

2022-01-05 Thread Roger Gammans
On Wed, 2022-01-05 at 06:36 -0800, Gwanghyeon Gim wrote: > Can this help? https://stackoverflow.com/a/28933593/1179076 > Some browsers might keep you from even entering due to strict > security, so try different browers if that's the case i.e firefox. > > On Saturday, 1 January 2022 at 09:12:10

Re: HTTPS on development enviroment

2022-01-05 Thread Gwanghyeon Gim
Can this help? https://stackoverflow.com/a/28933593/1179076 Some browsers might keep you from even entering due to strict security, so try different browers if that's the case i.e firefox. On Saturday, 1 January 2022 at 09:12:10 UTC+9 nassibs...@gmail.com wrote: > I have started using Django

Re: Employee matching query does not exist

2022-01-05 Thread Gwanghyeon Gim
Two possible scenarios. 1. self.request.POST doesn't have any key named 'employee_id', so self.request.POST.get('employee_id') returns None 2. self.request.POST.get('employee_id') has value like 'Sam', but Employee model doesn't have any object whose name equals to

Re: Employee matching query does not exist

2022-01-05 Thread Julio Cojom
Hi, Try the following. employee =self.request.POST.get('employee_id') print(employee) obj.employee= Employee.objects.filter(name=employee) It will crash again, but you can see in the console if it's printing the id correctly. I've assume this is a function, not a class view by the way that you

Re: send an invite to the user

2022-01-05 Thread Kris Stern
Hi Kakasaheb, I think for a reference for what is possible with a generic invitation app, though by no means am I endorsing this particular package in particular, please see https://github.com/bee-keeper/django-invitations. I think this gives you an idea about what could be achievable using

sending mails

2022-01-05 Thread Rey Ondiyo
Hello i'm sending mails, I use a mail configured via cpanel, in my django application but i have this mistake ConnectionRefusedError at / register [WinError 10061] No connection could be made because the target computer expressly refused it My settings.py files EMAIL_BACKEND

send an invite to the user

2022-01-05 Thread Kakasaheb Jumbad
how to invite the user to accept and reject the invition via email -- 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.

Re: Employee matching query does not exist

2022-01-05 Thread Rey Ondiyo
Django don't saw a employe who have this ID so you can use filter if there's not matching in your database he return [ ]. obj.employee= Employee.objects.filter(name=self.request.POST.get('employee_id')) Le mardi 4 janvier 2022 à 15:44:55 UTC+1, jitendra...@gmail.com a écrit : > name column