Re: Django Chat Help

2019-04-21 Thread PARTH PATIL
You can refer to this video tutorial, I found this pretty useful.

https://youtu.be/Wv5jlmJs2sU

This uses django channels to implement a asynchronous chat app.


Best Regards,
PARTH PATIL

On Sun, 21 Apr 2019, 8:20 pm Fahad Bin Munir,  wrote:

> how to create chatting system using api in djano?
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/398fbc6b-aaf7-4d2f-8107-6ea7ec1c2b81%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/398fbc6b-aaf7-4d2f-8107-6ea7ec1c2b81%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJSC-ien%3DqK1zdWGJv9L-t1mgr1TLwEtXtw1yhxKqpsr91bkBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Integrating Machine Learning Model in Django

2019-04-11 Thread PARTH PATIL
Assuming that you have to do all the processing locally on your server
computer.

Best Regards,
PARTH PATIL

On Thu, 11 Apr 2019, 1:29 pm Aakash Baranwal,  wrote:

> Hi Everybody,
>
> I need a help in integrating a machine learning model with my website.
>
> I have a file upload button where I can upload either an image or a video.
> After it is uploaded, I want to run my model into it and whatever is the
> result I want to display it and keep a record of the whole process.
>

This can can be easily done using using the current framework. Just process
whatever you want to do in a single view and return the result to the user.
You can use threading to optimize your load time.


> Also, I wish to add a feature of connecting my website with my CCTV
> camera, so I can have a live video feed instead of uploading a video and
> then do the same.
>

You can use django socket to send asynchronous messages to the server and
do your processing when a message is received in a consumer. That would do
the trick.

>
> With Kind Regards
>
> Aakash
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALr9hQ0sxzr%3DwZfNa6%3DhAy1tU6KdRE3-S6nJ4YbOock1SoFpmw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALr9hQ0sxzr%3DwZfNa6%3DhAy1tU6KdRE3-S6nJ4YbOock1SoFpmw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJSC-ifNegZkb27M8kYYVjrhfHe%2BCnx-LzgPAC18mg5KNW8GXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re:

2019-02-20 Thread PARTH PATIL
Hey bhushan you might be running the command in wrong directory, open the 
terminal into the django project directory and and then run ./manage.py 
runserver

If you are still stuck you can upload some screenshots so that we can 
better help you

On Wednesday, February 20, 2019 at 5:46:58 PM UTC+5:30, bhushan patil wrote:
>
> Guys I am not able to run the file manage.py on runserver.Its showing that 
> no such file or directory.Can anyone help me with this
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c64573ba-b1fd-4f95-a920-1be419758d50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Upgrading project from Django 1.11 to 2.1

2019-02-10 Thread PARTH PATIL
Six.text_types is used to represent unicode() in python2 and str in python3.
And now you are only using python3, it would be safe to replace it with str()

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9b9c5c27-64c2-4af1-9940-716f7ebf5a2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


REST Framework alternatives

2019-02-05 Thread PARTH PATIL
I agree that indeed REST Framework has a decent learning curve, but i would say 
it is worth a shot if you only have to do validation it will handle it like 
magic with very few lines of code.

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b8f6b84f-abf0-4122-8d3a-594b31f05aea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Help to get started with Gsoc 2019

2018-10-24 Thread PARTH PATIL
Hey i am* Parth Patil*, a second year undergraduate engineer. I have been 
using django since the last year and had done many cool projects with it, 
also I'm cureently a maintainer for 3 websites as well.

I am willing to participate in* GSoC 2019*. I thought this would be a good 
time to start. I have been reading alot about django for past few weeks , 
like previous year projects, getting started wiki etc. But I am pretty much 
confused right now. Here is list of few *problems/doubts*.

1) I am not able to find any channel or forum on which discussion for gsoc 
2019 is active (is it too early for that?)

2) I had a very hard time finding the contact of the past year student who 
have successfully completed their project. Like there is no list or 
anything of some sort.

3) while going through projects, many times i didn't even understood what 
project statement was, is that a problem??

4) Also i have a doubt from where to learn the style of writing code, to 
get good pylint/sphinx scores. (if any one has a good reference please link 
down).

Also if anyone has any other information please feel free to share below, 
you can contact me at parth...@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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dd0aa0a5-faa3-4693-bfbf-412fcc286ea2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


I Suck

2018-10-24 Thread PARTH PATIL
Hey don't get disheartened,  even i faced the same problem when i was learning 
django for the first time. I will just you don't rush things. Just try doing 
some small things first. You can change a few lnes from example code and see 
how it affects the system. This kind of things really help.

Also you can try referring to this YouTube series 

Django Web Development with Python: 
https://www.youtube.com/playlist?list=PLQVvvaa0QuDeA05ZouE4OzDYLHY-XH-Nd

I found this one very useful, i have watched this 20 30 times and every time i 
learn something new must try
Also never give up you will learn it eventually, every one has a different 
learning pace nothing to be ashamed of

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/44b020f4-a064-4dfe-851f-c49edfc7d569%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.