Why are the items not appearing in the table?

2022-09-06 Thread Matheus Bon
Hello friends!

I'm creating a point of sale with a friend in order to increase our 
Portfolio. However, I'm having a problem to present the items in a table, 
I've already added items through the Django admin panel, but in the 
template it doesn't appear.

I will be leaving the POS link that is on github, because I believe it is 
easier.
https://github.com/Matheus-Bon/frente-de-caixa

OBS: I'm Brazilian, so the codes will be in my language, but I think that's 
not a problem.

The app I created to make the table is called app: 'cadastro'; and I want 
to put the table in the app called: 'paginas' in the template called: 
'estoque.html' and 'gastos.html'

If you need any more information, please ask, I'm available, and if you 
can't open git and want me to send the codes, you can talk, I'm available


Thank you very much!

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/901f7db3-be26-4d46-ab7c-6f3c6d6d6317n%40googlegroups.com.


Django model field different from db field managed=false

2022-09-06 Thread ISMAIL TAIBANI
I have model containing field ad_account_id = models.TextField(null=True, 
blank=True) but this model is managed = False and in database type is int 
and not textfield
whenever i do query using ORM it gives ad_account_id  type as int and not 
str and don't through any exception as well
why is it so ? and where can i read about this more

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8cc5ec41-d762-4a71-9b94-631778df48a7n%40googlegroups.com.


Re: Mpesa integration.

2022-09-06 Thread Onjomba Felix
https://github.com/Developer-Felix/mpesa-payments-package

On Tue, 6 Sept 2022 at 19:00, Brian Odhiambo 
wrote:

> Hello,
> @onjombafel...@gmail.com, seems the repo you share isn't public. Can you
> please make it, or add me to it if you don't mind.
> Thank you.
>
> On Tue, Sep 6, 2022 at 4:16 PM Onjomba Felix 
> wrote:
>
>> Yeah
>>
>> On Tue, 6 Sept 2022 at 13:15, Lutalo Bbosa joseph 
>> wrote:
>>
>>> Flutterwave gives everything at your plate mpesa inclusive
>>>
>>> On Tue, Sep 6, 2022, 12:08 Walid Kambagha  wrote:
>>>
 Hi Felix,

 Does the package you shared works also with Mpesa Vodacom from Tanzania?

 Thanks.

 On Tue, 6 Sep 2022 at 10:48, Onjomba Felix 
 wrote:

> hae i have used used mpesa with python django even developed a pip
> package of how to do integration you can check on
> https://pypi.org/project/mpesa-payments/ and the documentation is
> here https://github.com/Developer-Felix/mpesa-payments-package.
> Go through it and if you dont understand whatsapp me @ +254717713943 or
> rather give me a call.
>
> Thank you
>
> On Mon, 5 Sept 2022 at 22:52, Martin Mambo 
> wrote:
>
>> Anyone whose successfully impilimented mpesa into django 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-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMXA-m9kDX7QB3w8c1akjW7w6_0RVBYHF3irwoGhRbXSA8VdsQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJU16zeR9esB9caDMgJ3fa%3DsxR%2Bd0V%2BKk4TchzMiTKk%3Dn_F%2Brw%40mail.gmail.com
> 
> .
>
 --
 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 discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAGbq8nmBd7mk%3DokhNQKvv%3DUyzGLramQSjyBim13DiBsxOKSVOw%40mail.gmail.com
 
 .

>>> --
>>> 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 discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DRjgvpOaFpW%3DAguEsfSYt5Vi0oLDMjwmo9kPf4_VnMPfA%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJU16zdTAFUFVq7xqiHYUBZ%2BMyFUkioOvCZar-NTjBocdgUE_A%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPjQKqYb5Gt4HxpZFGyzgABsC7_n3Uf_Z4foZ1KD9xZjKQe7jQ%40mail.gmail.com
> 
> .
>

-- 
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 

Re: Mpesa integration.

2022-09-06 Thread Brian Odhiambo
Hello,
@onjombafel...@gmail.com, seems the repo you share isn't public. Can you
please make it, or add me to it if you don't mind.
Thank you.

On Tue, Sep 6, 2022 at 4:16 PM Onjomba Felix 
wrote:

> Yeah
>
> On Tue, 6 Sept 2022 at 13:15, Lutalo Bbosa joseph 
> wrote:
>
>> Flutterwave gives everything at your plate mpesa inclusive
>>
>> On Tue, Sep 6, 2022, 12:08 Walid Kambagha  wrote:
>>
>>> Hi Felix,
>>>
>>> Does the package you shared works also with Mpesa Vodacom from Tanzania?
>>>
>>> Thanks.
>>>
>>> On Tue, 6 Sep 2022 at 10:48, Onjomba Felix 
>>> wrote:
>>>
 hae i have used used mpesa with python django even developed a pip
 package of how to do integration you can check on
 https://pypi.org/project/mpesa-payments/ and the documentation is here
 https://github.com/Developer-Felix/mpesa-payments-package. Go
 through it and if you dont understand whatsapp me @ +254717713943 or rather
 give me a call.

 Thank you

 On Mon, 5 Sept 2022 at 22:52, Martin Mambo 
 wrote:

> Anyone whose successfully impilimented mpesa into django 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMXA-m9kDX7QB3w8c1akjW7w6_0RVBYHF3irwoGhRbXSA8VdsQ%40mail.gmail.com
> 
> .
>
 --
 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 discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAJU16zeR9esB9caDMgJ3fa%3DsxR%2Bd0V%2BKk4TchzMiTKk%3Dn_F%2Brw%40mail.gmail.com
 
 .

>>> --
>>> 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 discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAGbq8nmBd7mk%3DokhNQKvv%3DUyzGLramQSjyBim13DiBsxOKSVOw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DRjgvpOaFpW%3DAguEsfSYt5Vi0oLDMjwmo9kPf4_VnMPfA%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJU16zdTAFUFVq7xqiHYUBZ%2BMyFUkioOvCZar-NTjBocdgUE_A%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPjQKqYb5Gt4HxpZFGyzgABsC7_n3Uf_Z4foZ1KD9xZjKQe7jQ%40mail.gmail.com.


Re: Mpesa integration.

2022-09-06 Thread Onjomba Felix
Yeah

On Tue, 6 Sept 2022 at 13:15, Lutalo Bbosa joseph  wrote:

> Flutterwave gives everything at your plate mpesa inclusive
>
> On Tue, Sep 6, 2022, 12:08 Walid Kambagha  wrote:
>
>> Hi Felix,
>>
>> Does the package you shared works also with Mpesa Vodacom from Tanzania?
>>
>> Thanks.
>>
>> On Tue, 6 Sep 2022 at 10:48, Onjomba Felix 
>> wrote:
>>
>>> hae i have used used mpesa with python django even developed a pip
>>> package of how to do integration you can check on
>>> https://pypi.org/project/mpesa-payments/ and the documentation is here
>>> https://github.com/Developer-Felix/mpesa-payments-package. Go
>>> through it and if you dont understand whatsapp me @ +254717713943 or rather
>>> give me a call.
>>>
>>> Thank you
>>>
>>> On Mon, 5 Sept 2022 at 22:52, Martin Mambo 
>>> wrote:
>>>
 Anyone whose successfully impilimented mpesa into django 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-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAMXA-m9kDX7QB3w8c1akjW7w6_0RVBYHF3irwoGhRbXSA8VdsQ%40mail.gmail.com
 
 .

>>> --
>>> 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 discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAJU16zeR9esB9caDMgJ3fa%3DsxR%2Bd0V%2BKk4TchzMiTKk%3Dn_F%2Brw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAGbq8nmBd7mk%3DokhNQKvv%3DUyzGLramQSjyBim13DiBsxOKSVOw%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DRjgvpOaFpW%3DAguEsfSYt5Vi0oLDMjwmo9kPf4_VnMPfA%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJU16zdTAFUFVq7xqiHYUBZ%2BMyFUkioOvCZar-NTjBocdgUE_A%40mail.gmail.com.


Re: Django Model related_name

2022-09-06 Thread DJANGO DEVELOPER
when you want to fetch multiple objects from that model ( having a foreign
key relation)

On Tue, Sep 6, 2022 at 3:21 PM Justin Kpakpa  wrote:

> Hello, pls under what circumstances do you need to defined a related_name
> of a model field?
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/63171f1d.170a0220.87ca8.aef5%40mx.google.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKPY9pkxaO3Gj9CZE7pwCchwe2kDhrazpZQYBOJjuM_BjH4ODA%40mail.gmail.com.


Django Model related_name

2022-09-06 Thread Justin Kpakpa
Hello, pls under what circumstances do you need to defined a related_name of a 
model field?

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/63171f1d.170a0220.87ca8.aef5%40mx.google.com.


Re: Mpesa integration.

2022-09-06 Thread Lutalo Bbosa joseph
Flutterwave gives everything at your plate mpesa inclusive

On Tue, Sep 6, 2022, 12:08 Walid Kambagha  wrote:

> Hi Felix,
>
> Does the package you shared works also with Mpesa Vodacom from Tanzania?
>
> Thanks.
>
> On Tue, 6 Sep 2022 at 10:48, Onjomba Felix 
> wrote:
>
>> hae i have used used mpesa with python django even developed a pip
>> package of how to do integration you can check on
>> https://pypi.org/project/mpesa-payments/ and the documentation is here
>> https://github.com/Developer-Felix/mpesa-payments-package. Go
>> through it and if you dont understand whatsapp me @ +254717713943 or rather
>> give me a call.
>>
>> Thank you
>>
>> On Mon, 5 Sept 2022 at 22:52, Martin Mambo 
>> wrote:
>>
>>> Anyone whose successfully impilimented mpesa into django 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-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAMXA-m9kDX7QB3w8c1akjW7w6_0RVBYHF3irwoGhRbXSA8VdsQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJU16zeR9esB9caDMgJ3fa%3DsxR%2Bd0V%2BKk4TchzMiTKk%3Dn_F%2Brw%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAGbq8nmBd7mk%3DokhNQKvv%3DUyzGLramQSjyBim13DiBsxOKSVOw%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DRjgvpOaFpW%3DAguEsfSYt5Vi0oLDMjwmo9kPf4_VnMPfA%40mail.gmail.com.


Re: Mpesa integration.

2022-09-06 Thread Walid Kambagha
Hi Felix,

Does the package you shared works also with Mpesa Vodacom from Tanzania?

Thanks.

On Tue, 6 Sep 2022 at 10:48, Onjomba Felix  wrote:

> hae i have used used mpesa with python django even developed a pip package
> of how to do integration you can check on
> https://pypi.org/project/mpesa-payments/ and the documentation is here
> https://github.com/Developer-Felix/mpesa-payments-package. Go through
> it and if you dont understand whatsapp me @ +254717713943 or rather give me
> a call.
>
> Thank you
>
> On Mon, 5 Sept 2022 at 22:52, Martin Mambo 
> wrote:
>
>> Anyone whose successfully impilimented mpesa into django 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-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMXA-m9kDX7QB3w8c1akjW7w6_0RVBYHF3irwoGhRbXSA8VdsQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJU16zeR9esB9caDMgJ3fa%3DsxR%2Bd0V%2BKk4TchzMiTKk%3Dn_F%2Brw%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGbq8nmBd7mk%3DokhNQKvv%3DUyzGLramQSjyBim13DiBsxOKSVOw%40mail.gmail.com.


Re: Mpesa integration.

2022-09-06 Thread Onjomba Felix
hae i have used used mpesa with python django even developed a pip package
of how to do integration you can check on
https://pypi.org/project/mpesa-payments/ and the documentation is here
https://github.com/Developer-Felix/mpesa-payments-package. Go through
it and if you dont understand whatsapp me @ +254717713943 or rather give me
a call.

Thank you

On Mon, 5 Sept 2022 at 22:52, Martin Mambo  wrote:

> Anyone whose successfully impilimented mpesa into django 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMXA-m9kDX7QB3w8c1akjW7w6_0RVBYHF3irwoGhRbXSA8VdsQ%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJU16zeR9esB9caDMgJ3fa%3DsxR%2Bd0V%2BKk4TchzMiTKk%3Dn_F%2Brw%40mail.gmail.com.