Re: Mpesa integration.

2022-09-05 Thread FLAVIEN HERI
salut Mambo tu dois chercher leurs exigence dans la documentation

On 9/5/22, 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.
>


-- 
FLAVIEN HERI

*Information management AscociateUNHCR-Kinshasa*
Tél:+243978587009
Skype: flavien.heri1
Facebook: flavien semi

-- 
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/CAG3GEnxsBv_TWHDvuzp1H%2BEV_rqVdtDrw%2B359x7fzkAYSNskkg%40mail.gmail.com.


Re: Mpesa integration.

2022-09-05 Thread Walid Kambagha
Have tried to check their documentation?

On Mon, 5 Sep 2022 at 22:51, 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/CAGbq8nmf4Oasact0TZRbjWYRnivXpF_%2B-yiTDT%3DX4-3JX0TLeg%40mail.gmail.com.


More documentation needed - Channels with multiple authentication backends

2022-09-05 Thread Laurent De Buyst
Greetings,

I've started using channels in an existing application (because IDOM 
requires it), which has two authentication backends (one local, one LDAP):

AUTHENTICATION_BACKENDS = [
"django_auth_ldap.backend.LDAPBackend",
"django.contrib.auth.backends.ModelBackend",
]

This results in the following warnings:

IDOM websocket authentication has failed!
Traceback (most recent call last):
  File 
"/home/ldt/Projects/fedjango/.venv/lib/python3.9/site-packages/channels/auth.py",
 
line 95, in login
backend = backend or user.backend
[...]
AttributeError: 'User' object has no attribute 'backend'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
[...]
  File 
"/home/ldt/Projects/fedjango/.venv/lib/python3.9/site-packages/channels/auth.py",
 
line 101, in login
raise ValueError(
ValueError: You have multiple authentication backends configured and 
therefore must provide the `backend` argument or set the `backend` 
attribute on the user.

Unfortunately, the channels documentation has little to no information on 
how to best solve this. Where should I provide this backend? Which 
constructor or function takes this as argument? And what should I provide 
exactly? The backend object, or just the string?


Thanks in advance for any help you can provide,

Laurent De Buyst

-- 
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/0ecf64a8-4c91-45f4-ba8a-79583bb0321fn%40googlegroups.com.


Mpesa integration.

2022-09-05 Thread Martin Mambo
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.


Re: Mobile App

2022-09-05 Thread Awais Ikram
Use django rest api. You dont need to re write backend just make apis and
on frontend use react js or swift

On Mon, 5 Sep 2022, 2:34 AM Peter Kirieny,  wrote:

> Hello team Django, I have a fully functioning website
> how can I easily turn it into a mob
> app please ?
>
> --
> 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/CAL8t8eqZap1_4kPKuMWovWWtPUVHZN7TFnLqgX7K3Om4cg8Npg%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/CAJhw6TxBC9FA8OYYVoSKznGeUop5ywpVB%3DD84Tdh_CA_Mu6t1Q%40mail.gmail.com.


Re: Mobile App

2022-09-05 Thread gabrielstonedelza
I will recommend building with Django reatframework,that you will have an api 
you can serve to all points being mobile with flutter,web with react is or any 
other framework I have been building with mobile apps with flutter where the 
backend is Django restframeworkIf you are using the core Django try using 
restframework and you will be good to go 🙏


Sent from Yahoo Mail for iPhone


On Monday, September 5, 2022, 12:15, Gobi Dasu  wrote:

You need to make sure your Django app serves a REST API that your mobile client 
can use. You can do this with either Django or DRF (Django REST Framework).
If you need help, here are people I'd recommend chatting with, you'll get a few 
hours of free credit where you can pick their brain: 
https://www.ldtalentwork.com/client/select_engineers/?crid=8190
On Sep 5, 2022 07:28, "Ahmed omar miladi"  wrote:

i have been woking on many apps created with django and reactjs and react 
native tooi can help just contact me on my emailAhmed Omar 
miladiahmedomarmil...@gmail.com

On Mon, 5 Sept 2022 at 01:16, Kato Joshua  wrote:

Try using ionic js, you can have the same code base for multiple platforms such 
as Android, web, IOS and desktop app. 
On Mon, Sep 5, 2022, 12:34 AM Peter Kirieny  wrote:

Hello team Django, I have a fully functioning websitehow can I easily turn it 
into a mobapp please ?

-- 
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/CAL8t8eqZap1_4kPKuMWovWWtPUVHZN7TFnLqgX7K3Om4cg8Npg%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/CAMaX-ZhRSRChrkePRmwTmXWKeL4ZHfhbNfOyBWG1MbMrFP467g%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/CAE3Dc2Or2-YRaNmnNBx7k7Wz0TSDNUvr%3DpRrsceK9VEfL9WSpw%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/CAMk8evmVptpak7LE%3DOZOjQVNvxhmH_oSe8F4xwMSKAPA2n0y3g%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/785854235.4379199.1662381559717%40mail.yahoo.com.


Re: Mobile App

2022-09-05 Thread Gobi Dasu
You need to make sure your Django app serves a REST API that your mobile
client can use. You can do this with either Django or DRF (Django REST
Framework).

If you need help, here are people I'd recommend chatting with, you'll get a
few hours of free credit where you can pick their brain:
https://www.ldtalentwork.com/client/select_engineers/?crid=8190

On Sep 5, 2022 07:28, "Ahmed omar miladi"  wrote:

i have been woking on many apps created with django and reactjs and react
native too
i can help just contact me on my email
Ahmed Omar Miladi
ahmedomarmil...@gmail.com


On Mon, 5 Sept 2022 at 01:16, Kato Joshua  wrote:

> Try using ionic js, you can have the same code base for multiple platforms
> such as Android, web, IOS and desktop app.
>
> On Mon, Sep 5, 2022, 12:34 AM Peter Kirieny 
> wrote:
>
>> Hello team Django, I have a fully functioning website
>> how can I easily turn it into a mob
>> app please ?
>>
>> --
>> 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/CAL8t8eqZap1_4kPKuMWovWWtPUVHZN7TFnLqgX7K3Om4cg8Npg%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/CAMaX-ZhRSRChrkePRmwTmXWKeL4ZHfhbNfOyBWG1MbMrFP467g%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/CAE3Dc2Or2-YRaNmnNBx7k7Wz0TSDNUvr%3DpRrsceK9VEfL9WSpw%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/CAMk8evmVptpak7LE%3DOZOjQVNvxhmH_oSe8F4xwMSKAPA2n0y3g%40mail.gmail.com.


Re: serving 206 Byte-Range during development

2022-09-05 Thread Jason
use gunicorn or uwsgi with autoreload

https://docs.gunicorn.org/en/latest/settings.html?highlight=reload#reload
https://uwsgi-docs.readthedocs.io/en/latest/Snippets.html?highlight=autoreload#python-auto-reloading-development-only


On Monday, September 5, 2022 at 5:22:01 AM UTC-4 vjwork wrote:

> I'm embedding jbrowse2 
> in
>  
> a django site, but during development I get the following error
>
> Error: HTTP 200 (OK) when fetching /static/jbrowse/assembly/genome.fasta 
> bytes 0-15871 (should be 206 for range requests)
>
> Turns out the default django dev server cannot handle streaming requests. 
> What would be a good solution to serve the steams during development? 
>

-- 
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/880bd712-ce91-405c-8768-df78f7f53cc3n%40googlegroups.com.


serving 206 Byte-Range during development

2022-09-05 Thread vjwork
I'm embedding jbrowse2 
in
 
a django site, but during development I get the following error

Error: HTTP 200 (OK) when fetching /static/jbrowse/assembly/genome.fasta 
bytes 0-15871 (should be 206 for range requests)

Turns out the default django dev server cannot handle streaming requests. 
What would be a good solution to serve the steams during development? 

-- 
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/9fb77df9-2faa-4dd3-869e-ba4e7c4db6cbn%40googlegroups.com.