No, it is not the same network, the remote database is MySql, and my
default database in my Django application is Postgres, I only want is to
read or get data to the remote database into may Django application.
On Wednesday, July 20, 2022 at 11:15:05 AM UTC+8 aqoy...@cardaccess.com.au
wrote:
Ok I understand but currently I'm using postgresql in my app. So I need it
for that. Please help me to inject the websockets in django as I'm very
much new to it *not websockets* but to *integration of websockets in
django*.
On Wed, Jul 20, 2022, 08:28 Abdul Qoyyuum
wrote:
> Hi Lakshyaraj,
>
> C
Please have a look at how Django channels implements the chat app.
https://github.com/narrowfail/django-channels-chat
On Wed, Jul 20, 2022 at 7:23 PM Lakshyaraj Dash <
dashlakshyaraj2...@gmail.com> wrote:
> Ok I understand but currently I'm using postgresql in my app. So I need it
> for that. Ple
Great thanks Abdul. I can now easily build a chat app for my forum app.
On Wed, Jul 20, 2022, 17:12 Abdul Qoyyuum
wrote:
> Please have a look at how Django channels implements the chat app.
> https://github.com/narrowfail/django-channels-chat
>
> On Wed, Jul 20, 2022 at 7:23 PM Lakshyaraj Dash <
Hi users,
without serializers , can I use sockets?
How to use sockets in django rest api( notification purpose), front-end is
Vue js.
any tutorials or any blogs sample codes please share with me.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users
Hello Dev,
Can anyone send me Google Authentication code or any exp ?
--
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.
Please provide me also a suitable tutorials implementing sockets in Django
Rest framework.
On Wed, 20 Jul 2022, 15:01 Prashanth Patelc,
wrote:
> Hi users,
> without serializers , can I use sockets?
>
> How to use sockets in django rest api( notification purpose), front-end
> is Vue js.
> any tu
On 20 July 2022 15.03.20 CEST, Ankit Chaurasia
wrote:
>Hello Dev,
>Can anyone send me Google Authentication code or any exp ?
>
https://www.section.io/engineering-education/django-google-oauth/
That was the first page I found using one of those "internet search engines"
you might have heard of
[image: image_2022-07-20_133032905.png]
--
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
Syntax will be
messages.warning(req, 'some fields are empy')
On Wed, Jul 20, 2022, 20:42 chaouch elhem wrote:
> [image: image_2022-07-20_133032905.png]
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and
You ca read a book “Django 3 by examples”
Have 2 Methodist authentication, google, Facebook
Sent from my iPhone
> On 20/07/2022, at 14:56, 'Kasper Laudrup' via Django users
> wrote:
>
> On 20 July 2022 15.03.20 CEST, Ankit Chaurasia
> wrote:
>> Hello Dev,
>> Can anyone send me Google Auth
Hello, tow info
https://dev.to/buurak/django-rest-framework-websocket-3pb6
https://github.com/NilCoalescing/djangochannelsrestframework
cheeers
On Wed, Jul 20, 2022 at 7:49 AM Vkash Poudel
wrote:
> Please provide me also a suitable tutorials implementing sockets in Django
> Rest framework.
Hello, this tutorial is very simple and explain complete chat example with
django channels
https://testdriven.io/blog/django-channels/
Cheers
On Wed, Jul 20, 2022 at 5:59 AM Lakshyaraj Dash <
dashlakshyaraj2...@gmail.com> wrote:
> Great thanks Abdul. I can now easily build a chat app for my for
Thank you all for quick suggestions.
We are stuck with implementing the first API, which is login endpoint. That
means since we already developed user registration functionality before
without DRF, there seems no way to create a login endpoint so that an
existing registered user can login using RE
There's no reason at all that DRF can't be used to do this. Just don't use
a viewset, as it's not the right fit for this type of thing.
Read through the code for how your current system works, then re-implement
the relevant parts as DRF ApiView's.
On Thu, Jul 21, 2022 at 8:43 AM Ram wrote:
> Tha
Maybe print your "messages" and confirm if there's no "info" attribute or
method to it.
On Wed, Jul 20, 2022 at 11:12 PM chaouch elhem
wrote:
> [image: image_2022-07-20_133032905.png]
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To
Hi Ram,
Aditional to all the suggestions, please keep in mind django-filters as
they are important to filter data in your api requests
Regards,
Julio Cojom
El mié, 20 jul 2022 a las 20:37, Michael Thomas (<
michael.thomas.s...@gmail.com>) escribió:
> There's no reason at all that DRF can't be
Hey Salima
I guess you can use access token authentication in DRF.
But Do you recive the response without logging in?
Please explain more please
--
Ammar Mohammed
+249 113075979
On 21 Jul 2022 07:08, "Salima Begum" wrote:
> Hi all,
>
> I am trying to convert my current project(It is developed i
Hi everyone,
I have a code block with high cognitive complexity below:
@staticmethod
def in_circle_check(obj_type, item, uuid, item_is_array=False):
if obj_type not in ['trees', 'flowers']:
return None
plant = get_plant_with_circles(uuid)
if not plant
The only things that comes into my mind is taking away that first if which
is redundant with the third block.
An other way might be to include all the if in a big switch...
My 2 cents
Agnese
On Thu, 21 Jul 2022 at 07:53, Sencer Hamarat
wrote:
> Hi everyone,
>
> I have a code block with high cogn
On 21/07/2022 3:52 pm, Sencer Hamarat wrote:
Hi everyone,
I have a code block with high cognitive complexity below:
@staticmethod
def in_circle_check(obj_type, item, uuid, item_is_array=False):
Partly because the args seem weird.
Try writing a docstring which says what the method nee
The first step is to ensure you have a precise and accurate understanding
of the code before optimization. Right now, I am suspicious of at least 2
things in the code.
First, the function returns any of {None, -1, True}. While this is
certainly allowed, is this correct? If not, please correct the
Thanks Ammar Mohammed for the quick response, After login to the
website through Chrome browser, I got the response.
But when I run from Postman to test API by mentioning Basic AUTH
credentials of which I created user models login credentials it's giving
home page html response but which I want
23 matches
Mail list logo