Re: unsupported operand type(s) for +: 'builtin_function_or_method' and 'int'

2020-05-11 Thread hajar
Hello django users I solved the issue, I had to use something like that : (it doesn't show anymore the error) @receiver(post_save, sender=mail_items) def update_count(sender, instance, created, **kwargs): count_object,created = mail_item_count.objects.get_or_create(country=instance.Pays_or

Re: unsupported operand type(s) for +: 'builtin_function_or_method' and 'int'

2020-05-11 Thread hajar
I would like to know if you have any other suggestions -- 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 this d

Re: Project available

2020-05-11 Thread maninder singh Kumar
S.K thanks for the response. Is there phone number I can get in touch with you? Regs Willy Sent from my iPad > On 11-May-2020, at 11:44 AM, S K wrote: > > I am interested. Would like to collaborate with you. > >> On Mon, 11 May, 2020, 11:35 am maninder singh Kumar, >> wrote: >> Dear group

Re: Anyone have similar issue of POST 2 times while importing any simple models using django-import-export package

2020-05-11 Thread Milson Munakami
What I found is this is due to having mysql as default db. If I change it to sqlite it is working fine. Virus-free. www.avg.com

Password Reset Template customization

2020-05-11 Thread mick
I am not able to customise the default django rest auth password reset template.Can anyone please help -- 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-u

Re: Project available

2020-05-11 Thread Adedotun Richard
I'm interested You can send a zoom invite and let's talk. On Mon, May 11, 2020, 11:05 AM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > S.K thanks for the response. > Is there phone number I can get in touch with you? > > Regs > Willy > > Sent from my iPad > > On 11-May-2020, at 11:4

Re: Project available

2020-05-11 Thread S K
It's 7026210649 On Mon, 11 May, 2020, 6:27 pm Adedotun Richard, wrote: > I'm interested > You can send a zoom invite and let's talk. > > On Mon, May 11, 2020, 11:05 AM maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> S.K thanks for the response. >> Is there phone number I can get

Re: Project available

2020-05-11 Thread Mukesh Badgujar
I am Interested MOB: 8080664664 On Mon, 11 May, 2020, 11:36 am maninder singh Kumar, < maninder.s.ku...@gmail.com> wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 9910669700 > wi.

Re: Project available

2020-05-11 Thread PUSHPLATA RANJAN
Intestered. On Mon, May 11, 2020 at 3:35 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > S.K thanks for the response. > Is there phone number I can get in touch with you? > > Regs > Willy > > Sent from my iPad > > On 11-May-2020, at 11:44 AM, S K wrote: > > I am interested. Would

Re: Watch "Handle multiple forms On same page in Django | Errors" on YouTube

2020-05-11 Thread Bighnesh Pradhan
Thank you very much sir , Sir please make the Django complete video and User authentication. On Mon, May 11, 2020 at 1:27 AM Anonymous Patel wrote: > https://youtu.be/beh0ONKCkR8 > > How to handle multiple forms in a django > > > Raj Patel > > -- > You received this message because you are subsc

Re: Renaming a Django superclass model and updating the subclass pointers correctly [Is this a bug?]

2020-05-11 Thread Bighnesh Pradhan
Thank you buddy! On Mon, May 11, 2020 at 5:04 AM Hisham Mahmood wrote: > Here's the Stackoverflow's link: > https://stackoverflow.com/questions/61665607/renaming-a-django-superclass-model-and-updating-the-subclass-pointers-correctly > > -- > You received this message because you are subscribed

Re: Watch "Handle multiple forms On same page in Django | Errors" on YouTube

2020-05-11 Thread Bighnesh Pradhan
Sir app ne jo youtube link diye ho thoda front ko bada(big) kara dikkhayee nehi deti hai. Thank you! On Mon, May 11, 2020 at 9:53 AM Bighnesh Pradhan < bighnesh.pradhan...@gmail.com> wrote: > Thank you very much sir , > Sir please make the Django complete video and User authentication. > > On Mon

Re: Project available

2020-05-11 Thread Akshat Zala
I am interested. Do let me know what is to be done. Regards. Akshat On Monday, 11 May 2020 11:36:23 UTC+5:30, maninder singh Kumar wrote: > > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +9

Re: Project available

2020-05-11 Thread sachin chaurasiya
I am interested đź‘Ť On Mon, May 11, 2020, 6:59 PM Akshat Zala wrote: > I am interested. Do let me know what is to be done. > > Regards. > Akshat > > On Monday, 11 May 2020 11:36:23 UTC+5:30, maninder singh Kumar wrote: >> >> Dear group members, >> >> I have a django project available the flowchart

Re: Project available

2020-05-11 Thread ekong, emmanuel
I am interested too... I can receive a mail here for acceptance On Mon, 11 May 2020 at 2:37 PM, sachin chaurasiya < sachinchaurasiyachote...@gmail.com> wrote: > I am interested đź‘Ť > > On Mon, May 11, 2020, 6:59 PM Akshat Zala wrote: > >> I am interested. Do let me know what is to be done. >> >>

Re: Project available

2020-05-11 Thread Sri Harsha
iam interested in this project plz let me know brief about this Best Regards From V.Sri harsha On Mon, May 11, 2020 at 11:35 AM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. W

Re: Project available

2020-05-11 Thread Fulbéria Tangbé
Le lundi 11 mai 2020 06:06:23 UTC, maninder singh Kumar a écrit : > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 9910669700 > wi...@kawapeople.com > > Sent from my iPad Salut Monsieur! A

Re: django celery and mqtt

2020-05-11 Thread Fulbéria Tangbé
Le samedi 9 mai 2020 01:34:17 UTC, Riska Kurniyanto Abdullah a écrit : > Dear all django users, > > > 1. I want to attach my mqtt client script in django apps, where should I put > the script to launch them so the script can run as long task running.  > 2. In mqtt client i have task to save the

Re: Project available

2020-05-11 Thread maninder singh Kumar
sending a mail to kesari...@gmail.com. I suppose this is an Indian. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, May 11, 2020 at 6:30 PM S K wrote: > It's 7026210649 > > On Mon, 11 May, 2020, 6:27 pm Adedotu

Re: Project available

2020-05-11 Thread maninder singh Kumar
Are you in India ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, May 11, 2020 at 6:59 PM Akshat Zala wrote: > I am interested. Do let me know what is to be done. > > Regards. > Akshat > > On Monday, 11 May 20

Re: Project available

2020-05-11 Thread maninder singh Kumar
Are you based in India ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, May 11, 2020 at 7:14 PM ekong, emmanuel wrote: > I am interested too... I can receive a mail here for acceptance > > On Mon, 11 May 2020

Re: Project available

2020-05-11 Thread maninder singh Kumar
Are you based in India ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, May 11, 2020 at 7:17 PM Fulbéria Tangbé < fulberiatangbe2...@gmail.com> wrote: > Le lundi 11 mai 2020 06:06:23 UTC, maninder singh Kumar a

Re: Project available

2020-05-11 Thread S K
Yes it is. Is this project only specific to one region? On Mon, May 11, 2020 at 8:11 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > sending a mail to kesari...@gmail.com. > I suppose this is an Indian. > > > [image: --] > > Maninder Kumar > [image: http://]about.me/maninder.s.kuma

Re: Project available

2020-05-11 Thread Kola Badmus
I’m interested too +2347036497792 Sent from my iPhone > On 11 May 2020, at 2:43 PM, ekong, emmanuel wrote: > > I am interested too... I can receive a mail here for acceptance > >> On Mon, 11 May 2020 at 2:37 PM, sachin chaurasiya >> wrote: >> I am interested 👍 >> >>> On Mon, May 11, 2020,

Re: Project available

2020-05-11 Thread S K
I'm from Bangalore. On Mon, May 11, 2020 at 8:19 PM Kola Badmus wrote: > I’m interested too +2347036497792 > > Sent from my iPhone > > On 11 May 2020, at 2:43 PM, ekong, emmanuel > wrote: > > I am interested too... I can receive a mail here for acceptance > > On Mon, 11 May 2020 at 2:37 PM, sa

Re: Project available

2020-05-11 Thread Ganesh Babu
iam interested in this project . Please provide exact process of doc. Thanks & Regards On Mon, May 11, 2020 at 7:16 PM Sri Harsha wrote: > iam interested in this project plz let me know brief about this > Best Regards > From > V.Sri harsha > > > On Mon, May 11, 2020 at 11:35 AM maninder singh

Re: Project available

2020-05-11 Thread Ali Murtuza
I am also intrested On Mon, 11 May 2020 at 7:41 PM, maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > sending a mail to kesari...@gmail.com. > I suppose this is an Indian. > > > [image: --] > > Maninder Kumar > [image: http://]about.me/maninder.s.kumar >

Re: Project available

2020-05-11 Thread Ali Murtuza
No I am from Pakistan On Mon, 11 May 2020 at 7:46 PM, maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > Are you based in India ? > > > [image: --] > > Maninder Kumar > [image: http://]about.me/maninder.s.kumar > > > > > > On Mon, May 11

Re: Project available

2020-05-11 Thread maninder singh Kumar
Sorry, it would not be possible to give an internship in case you are not in India, I would require you for maintainance later on. regards willy On Mon, May 11, 2020 at 8:30 PM Ali Murtuza wrote: > No I am from Pakistan > > On Mon, 11 May 2020 at 7:46 PM, maninder singh Kumar < > maninder.s.ku

Re: Project available

2020-05-11 Thread S K
Its totally fine. Thanks On Mon, May 11, 2020 at 8:35 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > Sorry, it would not be possible to give an internship in case you are not > in India, I would require you for maintainance later on. > > regards > willy > > > On Mon, May 11, 2020

Re: Project available

2020-05-11 Thread Kunal Solanke
Info plz On Mon, May 11, 2020, 11:35 maninder singh Kumar wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 9910669700 > wi...@kawapeople.com > > Sent from my iPad > > -- > You receive

Re: django celery and mqtt

2020-05-11 Thread Riska Kurniyanto Abdullah
OK, no problem, We can talk it in another thread or in a private, but not in this thread please. Just contact me direct to my mailbox. And.. in english please.. :D This e-mail (including any attachments) is private and confidential and may contain privileged material. If you have received this e-m

Re: django celery and mqtt

2020-05-11 Thread Francisco Viteri
+ 786 878 9396 Please Add me and send me a message I will pay for your time as a mentor in Django an for a project On Mon, May 11, 2020 at 12:51 PM Riska Kurniyanto Abdullah < alternative@gmail.com> wrote: > OK, no problem, We can talk it in another thread or in a private, but not > in this t

Re: Project available

2020-05-11 Thread Ali Murtuza
It is totally fine On Mon, 11 May 2020 at 9:29 PM, Kunal Solanke wrote: > Info plz > > On Mon, May 11, 2020, 11:35 maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> Dear group members, >> >> I have a django project available the flowcharts of which will be up in 1 >> week. Write

Re: Project available

2020-05-11 Thread Nagaraju Singothu
I'm interested sir On Mon 11 May, 2020, 11:36 AM maninder singh Kumar, < maninder.s.ku...@gmail.com> wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 9910669700 > wi...@kawapeople.com

Media files and download url

2020-05-11 Thread Parampal Singh
Access media vedio files only when user logged in Temporary file download url every time change Any suggestions on these topics -- 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,

Re: Media files and download url

2020-05-11 Thread Riska Kurniyanto Abdullah
Amazon S3 have simple solution for that topic On Tue, May 12, 2020 at 1:27 AM Parampal Singh wrote: > Access media vedio files only when user logged in > > Temporary file download url every time change > > > Any suggestions on these topics > > -- > You received this message because you are subs

TestCase failing when using transaction.atomic() inside test

2020-05-11 Thread Uri Kogan
Hello, I am using TestCase and trying to create an object during test. There is a log activated on MySQL server, so I see all the queries being executed there. This "transaction.atomic" sets a SAVEPOINT in the database thinking that the transaction is already started. The problem is that there

Re: TestCase failing when using transaction.atomic() inside test

2020-05-11 Thread Aldian Fazrihady
I don't think the subclass of TestCase need to use transaction.atomic. Why can't you just remove the transaction.atomic? Regards, Aldian Fazrihady http://aldianfazrihady.com Pada tanggal Sel, 12 Mei 2020 04.02, Uri Kogan menulis: > Hello, > > I am using TestCase and trying to create an object

Re: Django Lessons

2020-05-11 Thread bnrc
Hey Eugen, your lessons about nginx/gunicorn configuration were exactly what i was looking for the past 5 days. Thanks a lot :) Am Freitag, 8. Mai 2020 08:10:43 UTC+2 schrieb Eugen Ciur: > > Hi, > > on https://django-lessons.com I release weekly screencasts about Django > Web Framework. Less

Re: How to push data fetched from excel to DB using Django?

2020-05-11 Thread DAVID ALEJANDRO Pineda
You can use the Fixtures feature First, pass to csv your spreadsheet Then, you have in mind the model or set of models ModelA ModelB The fields, the data type for every field. Then, convert to a file of JSON to load with the fixture command. I can share with you my code that do that: http

Re: Django Package Website is not opening

2020-05-11 Thread Kidwell Nyatsambo
Hello, how do you configure VPN, I mean password and name etc. Please help. I remember doing it a year or 2 ago now I have forgotten. I'm in Zimbabwe. On 05 May 2020 09:25, "Mike Dewhirst" wrote: > On 5/05/2020 5:08 pm, Hamza Mirchi wrote: > >> Hi Mike! >> >> What is the issue here >> >> sometime

Re: TestCase failing when using transaction.atomic() inside test

2020-05-11 Thread Uri Kogan
While this can be done in my code, there are libraries that the project use that have "transaction.atomic" in them. For example, pretty popular django-role-permissions. >From what I see in the documentation, there should be no problem to use transactions within transactions in TestCase. On Tues

Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-11 Thread hajar
hello django users , I am trying to update a class using signals , you will understand once you see the code below class mail_item_count(models.Model): country = models.CharField(max_length=100) count = models.IntegerField(default=1) def __str__(self): return '{}, {}'.for

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-11 Thread Uri Kogan
I think, for that you'll have to show your "mail_item" model too. On Tuesday, May 12, 2020 at 8:43:43 AM UTC+3, hajar wrote: > > hello django users , > > I am trying to update a class using signals , you will understand once you > see the code below > > class mail_item_count(models.Model): >

Re: Django Lessons

2020-05-11 Thread Eugen Ciur
You are welcome! I am really glad that you found content useful :) On Tuesday, May 12, 2020 at 1:26:56 AM UTC+2, bnrc wrote: > > Hey Eugen, > > your lessons about nginx/gunicorn configuration were exactly what i was > looking for the past 5 days. > > Thanks a lot :) > > Am Freitag, 8. Mai 2020 0

Re: Tried to update field X with a model instance, < X >. Use a value compatible with CharField.

2020-05-11 Thread hajar
class mail_item(models.Model): #mail_item_fid = models.OneToOneField(Mail_item_Event,on_delete=models.CASCADE) Event_cd = models.OneToOneField(Mail_item_Event,on_delete=models.CASCADE, related_name="mail_item_event_cd") office_Evt_cd = models.ForeignKey(Office,on_delete=models.CASCADE,

Re: TestCase failing when using transaction.atomic() inside test

2020-05-11 Thread Aldian Fazrihady
When testing django apps, my unit test usually accesses the django app via django test client: https://docs.djangoproject.com/en/3.0/topics/testing/tools/#the-test-client. Django test client simulates http access, so my Django tests always run my Django code starting from Django views. Even though

Re: TestCase failing when using transaction.atomic() inside test

2020-05-11 Thread Uri Kogan
That not that simple in my case because. I'll show what I mean: from django.contrib.auth.models import User from django.test import TestCase from rolepermissions.roles import assign_role class FooTest(TestCase): def test_bar(self): u = User.objects.create_user(username="abc", password