Re: Hello from a new user

2021-03-17 Thread Mr. X Offencer
You can search on YouTube for django tutorials.
Some of which are
Django by code with harry - In Hindi Language
Django by code with harry - In English Language

On Wed, 17 Mar 2021, 20:57 Mahmood Ahmad,  wrote:

> Hello Ryan,
>
> You are right. I sound as if I am only looking for tutorials.
>
> Indeed, I am joining for specific Q's and A's.
>
> Regards
>
> On Wed, Mar 17, 2021 at 1:41 PM Mahmood  wrote:
>
>> Hi All,
>>
>> I am a new user to Django and am exploring it for Web development using
>> Python. I am looking for Django tutorials.
>>
>> Please guide me to some tutorials,
>>
>> Regards
>> Mahmood
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/unewlXcSxkw/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/b8bb849e-e68b-4688-b4d9-b555fa5766e2n%40googlegroups.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/CAPefhB77XkeQzL5eYErYC0sdX0Aq5fKWvjik5k1OZd4D0H%3DhrQ%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/CABz7kDSSXbC_mNAnwHovvB%2BSvrkJKhcL9xxMH%3DYfZLZK-3pF3g%40mail.gmail.com.


Re: Python libraries for visualisations

2021-03-17 Thread Stephen Lalor
I do a tonne of data visualization and would recommend checking out Plotly 
. Looks really good and easy to create fairly 
complex graphics with.

On Monday, March 15, 2021 at 4:50:18 AM UTC geethanj...@gmail.com wrote:

> Hi..How to build a dashboard using django and python libraries for 
> creating visualisations?. Please let me know .Thanks in advance!
>

-- 
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/d0403cdc-41ff-4bc6-a327-8c19a00f8efdn%40googlegroups.com.


Sending Websocket Data in View Not Working (Django Channels)

2021-03-17 Thread Stephen Lalor
Hi,

I have what I think is an interesting problem:

   - Sending data to websocket in console works.
   - Sending data to websocket within view does not.

I detailed what's happening on SO 
.
 
I'd love to know what I'm doing wrong. Hopefully I'm not doing something 
completely senseless!

Cheers,
Stephen.

-- 
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/6adec92e-2355-4eb0-8124-399400b3d3fan%40googlegroups.com.


Re: runserver unsuccessfully without any exception or traceback

2021-03-17 Thread Ryan Nowakowski



On March 15, 2021 7:26:11 AM CDT, lilyfan195  wrote:
>
>however when I enter the http://127.0.0.1:8000 it showed page not
>found, and the thing is whatever I clicked, the powershell remained the
>same and didn't show any Exception traceback or something like that and
>the pycharm didn't show any errors either.

I'm assuming you're seeing the Django 404 page right? If this is not a brand 
new project and you've modified urls.py, check to make sure that you have a url 
pattern configured that matches the root of your site. Otherwise Django is 
doing exactly what it's supposed to do which is returning page not found.

-- 
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/91BC5BA2-9481-4388-8EA2-E833298D8DC4%40fattuba.com.


Re: Python libraries for visualisations

2021-03-17 Thread Ryan Nowakowski



On March 14, 2021 11:49:19 PM CDT, GEETHANJALI S P 
 wrote:
>Hi..How to build a dashboard using django and python libraries for
>creating
>visualisations?. Please let me know .Thanks in advance!

I'm terrible at web design so I usually like to start with some HTML that is 
already styled.  I've had good luck using both of these free dashboard 
templates with Django:

   * https://coreui.io
   * https://adminlte.io

As always, check the licenses to make sure they're compatible with your use 
case.


-- 
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/EDA1A76B-4D07-44C0-91BF-D4106BB8C410%40fattuba.com.


Re: First DRF project.

2021-03-17 Thread Kelvin Sajere
Thanks Hasan. Looking forward to people actually using the app.

On Wed, Mar 17, 2021 at 9:10 PM Hasan Tareq 
wrote:

> Wow!
>
> looking Fresh man.
>
> On Monday, 15 March 2021 at 03:02:39 UTC+6 kells...@gmail.com wrote:
>
>> Thanks Uche.
>>
>> On Sun, Mar 14, 2021 at 15:33 Uche Kelvin  wrote:
>>
>>> Nice to hear from you.
>>>
>>> I love your app
>>>
>>> On Sun, 14 Mar 2021 at 16:58, Kelvin Sajere  wrote:
>>>
 Ajay, I am currently hosting both front-end and back-end on
 namecheap.com, but it's components are separate, so I can easily scale
 as the needs arise. I am using MySQL for the database, so with time, I plan
 to move the backend and database to Google cloud, then get a VPS or
 dedicated hosting on Namecheap. I am already using AWS for the files, so
 that's going to stay that way. If you need any other thing, do let me know.


 On Fri, Mar 12, 2021 at 17:40 ajaykumar...@gmail.com <
 ajaykumar...@gmail.com> wrote:

> Thanks KeLLs for replay, I have already running website but right now
> it is developed in Wordpress. Ok can you please tell me how where you
> hosted hits front-end and back-end ?
>
> My Website URL: gotoanysite.com
>
> -Ajay Kumar
>
> On Thursday, March 11, 2021 at 4:17:40 PM UTC+5:30 kells...@gmail.com
> wrote:
>
>> Hi Ajay,
>> If you would like to build something like this, then you should look
>> into Vuejs. I also used a design framework for Vuejs called Vuetify. You
>> don’t even get to see all of the amazing features the site has until 
>> you’re
>> logged in. I would really appreciate some positive or negative feedback
>> from you all. Thanks.
>>
>> On Thu, Mar 11, 2021 at 05:37 ajaykumar...@gmail.com <
>> ajaykumar...@gmail.com> wrote:
>>
>>> Hi KeLLs, I want to develop the website like you developed...
>>>
>>> Regards,
>>> Ajay
>>>
>>> On Thursday, March 11, 2021 at 3:51:43 PM UTC+5:30
>>> kells...@gmail.com wrote:
>>>
 Good day everyone,

 I’ve been developing web applications in django since late 2019, I
 have done quite a number of projects, but I always felt using django 
 for
 just the backend and maybe a frontend framework for the frontend would
 actually be better. I decided to look into vue this January, and 
 developed
 an app for listening, reading and sharing positivity. The backend is
 developed with django and DRF, while the frontend is developed with 
 Vuejs.
 It’s a PWA, so it comes installable on Pc and Android devices. Check 
 it out
 and let me know what you think. Thanks. https://divineword.life
 --
 KeLLs

>>> --
>>>
>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/5548dae8-f614-4135-aff5-e9b3fbae4452n%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> KeLLs
>>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d9011de1-0572-407a-abc2-4ab540b4f0efn%40googlegroups.com
> 
> .
>
 --
 KeLLs

 --
 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...@googlegroups.com.

>>> To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CADYqDX1DibpJR81hnQZ4z%3DMtFETE4yGFH%2B2cguYSk7OHbn3r5g%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...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAK4WSUU7C9L1TC-S94zy8G0yc19%2BPR8MQTqsnL4f8RMkqmgJ2w%40ma

Re: First DRF project.

2021-03-17 Thread Hasan Tareq
Wow! 

looking Fresh man.

On Monday, 15 March 2021 at 03:02:39 UTC+6 kells...@gmail.com wrote:

> Thanks Uche.
>
> On Sun, Mar 14, 2021 at 15:33 Uche Kelvin  wrote:
>
>> Nice to hear from you.
>>
>> I love your app
>>
>> On Sun, 14 Mar 2021 at 16:58, Kelvin Sajere  wrote:
>>
>>> Ajay, I am currently hosting both front-end and back-end on 
>>> namecheap.com, but it's components are separate, so I can easily scale 
>>> as the needs arise. I am using MySQL for the database, so with time, I plan 
>>> to move the backend and database to Google cloud, then get a VPS or 
>>> dedicated hosting on Namecheap. I am already using AWS for the files, so 
>>> that's going to stay that way. If you need any other thing, do let me know. 
>>>
>>>
>>> On Fri, Mar 12, 2021 at 17:40 ajaykumar...@gmail.com <
>>> ajaykumar...@gmail.com> wrote:
>>>
 Thanks KeLLs for replay, I have already running website but right now 
 it is developed in Wordpress. Ok can you please tell me how where you 
 hosted hits front-end and back-end ?

 My Website URL: gotoanysite.com

 -Ajay Kumar

 On Thursday, March 11, 2021 at 4:17:40 PM UTC+5:30 kells...@gmail.com 
 wrote:

> Hi Ajay, 
> If you would like to build something like this, then you should look 
> into Vuejs. I also used a design framework for Vuejs called Vuetify. You 
> don’t even get to see all of the amazing features the site has until 
> you’re 
> logged in. I would really appreciate some positive or negative feedback 
> from you all. Thanks.
>
> On Thu, Mar 11, 2021 at 05:37 ajaykumar...@gmail.com <
> ajaykumar...@gmail.com> wrote:
>
>> Hi KeLLs, I want to develop the website like you developed...
>>
>> Regards,
>> Ajay 
>>
>> On Thursday, March 11, 2021 at 3:51:43 PM UTC+5:30 kells...@gmail.com 
>> wrote:
>>
>>> Good day everyone, 
>>>
>>> I’ve been developing web applications in django since late 2019, I 
>>> have done quite a number of projects, but I always felt using django 
>>> for 
>>> just the backend and maybe a frontend framework for the frontend would 
>>> actually be better. I decided to look into vue this January, and 
>>> developed 
>>> an app for listening, reading and sharing positivity. The backend is 
>>> developed with django and DRF, while the frontend is developed with 
>>> Vuejs. 
>>> It’s a PWA, so it comes installable on Pc and Android devices. Check it 
>>> out 
>>> and let me know what you think. Thanks. https://divineword.life
>>> -- 
>>> KeLLs
>>>
>> -- 
>>
> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/5548dae8-f614-4135-aff5-e9b3fbae4452n%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
> KeLLs
>
 -- 
 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...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/d9011de1-0572-407a-abc2-4ab540b4f0efn%40googlegroups.com
  
 
 .

>>> -- 
>>> KeLLs
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CADYqDX1DibpJR81hnQZ4z%3DMtFETE4yGFH%2B2cguYSk7OHbn3r5g%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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAK4WSUU7C9L1TC-S94zy8G0yc19%2BPR8MQTqsnL4f8RMkqmgJ2w%40mail.gmail.com
>>  
>> 

Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread Ryan Nowakowski
On Wed, Mar 17, 2021 at 09:42:26AM -0700, erfan faraj wrote:
> On Wednesday, March 17, 2021 at 8:10:41 PM UTC+3:30 Ryan Nowakowski wrote:
> > On Wed, Mar 17, 2021 at 07:15:20AM -0700, erfan faraj wrote:
> > > On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Nowakowski 
> > wrote:
> > > >
> > > > I haven't messed much with Django async. Could your video streaming 
> > view 
> > > > be blocking the asgi run loop? 
> > > >
> > > you mean the event loop?
> >
> > Yup
> >
> I would think so but why should it? it didn't do that in the wsgi version. 
> what happens behind the scenes in wsgi that causes it to not block other 
> requests

Perhaps your wsgi server uses a thread per request but your asgi server
doesn't?  Again, I'm just hypothesizing since I really haven't done
much with async.  I'll probably shut up now and let someone with actual
knowledge step in ;)

-- 
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/20210317165751.GQ15054%40fattuba.com.


Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread erfan faraj
I would think so but why should it? it didn't do that in the wsgi version. 
what happens behind the scenes in wsgi that causes it to not block other 
requests

On Wednesday, March 17, 2021 at 8:10:41 PM UTC+3:30 Ryan Nowakowski wrote:

> On Wed, Mar 17, 2021 at 07:15:20AM -0700, erfan faraj wrote:
> > On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Nowakowski 
> wrote:
> > >
> > > I haven't messed much with Django async. Could your video streaming 
> view 
> > > be blocking the asgi run loop? 
> > >
> > you mean the event loop?
>
> Yup
>

-- 
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/adff7f13-0ea9-459c-bb4d-3b58d3181c29n%40googlegroups.com.


Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread Ryan Nowakowski
On Wed, Mar 17, 2021 at 07:15:20AM -0700, erfan faraj wrote:
> On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Nowakowski wrote:
> >
> > I haven't messed much with Django async. Could your video streaming view 
> > be blocking the asgi run loop? 
> >
> you mean the event loop?

Yup

-- 
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/20210317163801.GP15054%40fattuba.com.


Re: Hello from a new user

2021-03-17 Thread Mahmood Ahmad
Hello Ryan,

You are right. I sound as if I am only looking for tutorials.

Indeed, I am joining for specific Q's and A's.

Regards

On Wed, Mar 17, 2021 at 1:41 PM Mahmood  wrote:

> Hi All,
>
> I am a new user to Django and am exploring it for Web development using
> Python. I am looking for Django tutorials.
>
> Please guide me to some tutorials,
>
> Regards
> Mahmood
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/unewlXcSxkw/unsubscribe.
> To unsubscribe from this group and all its topics, 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/b8bb849e-e68b-4688-b4d9-b555fa5766e2n%40googlegroups.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/CAPefhB77XkeQzL5eYErYC0sdX0Aq5fKWvjik5k1OZd4D0H%3DhrQ%40mail.gmail.com.


Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread erfan faraj
you mean the event loop?

On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Nowakowski wrote:

>
>
> On March 17, 2021 8:29:53 AM CDT, erfan faraj  wrote: 
> >I ran into an issue with channels asgi today. I had a wsgi server which 
> >i 
> >implemented with django and django rest framework. the server streams 
> >video 
> >from a webcam indefinitly and at the same time listens for requests 
> >like 
> >save image which saves a frame on the server or stops and starts the 
> >stream. this worked fine. at the same time as the livestream i could do 
> > 
> >requests. but when i added asgi to my application so i could use the 
> >websocket feature for notifications, it stopped working. when i start 
> >the 
> >stream i can do no other request, even the websocket doesn't work. what 
> > 
> >should i do? 
>
> I haven't messed much with Django async. Could your video streaming view 
> be blocking the asgi run loop? 
>

-- 
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/d94bdc49-322a-40bf-ab73-6ee4a2ad0956n%40googlegroups.com.


Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread Ryan Nowakowski



On March 17, 2021 8:29:53 AM CDT, erfan faraj  wrote:
>I ran into an issue with channels asgi today. I had a wsgi server which
>i 
>implemented with django and django rest framework. the server streams
>video 
>from a webcam indefinitly and at the same time listens for requests
>like 
>save image which saves a frame on the server or stops and starts the 
>stream. this worked fine. at the same time as the livestream i could do
>
>requests. but when i added asgi to my application so i could use the 
>websocket feature for notifications, it stopped working. when i start
>the 
>stream i can do no other request, even the websocket doesn't work. what
>
>should i do?

I haven't messed much with Django async. Could your video streaming view be 
blocking the asgi run loop?

-- 
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/708E72CE-5864-4A7D-AED1-0C83A4AC0262%40fattuba.com.


Re: create super user

2021-03-17 Thread Ryan Nowakowski



On March 17, 2021 2:24:18 AM CDT, arun arunisto  
wrote:
>theres an error showing in django while creating superuser, but its 
>happening recently, after the update of new version 3.1.7

Interesting! A few more details would help us narrow down the problem here.

1. What version of Django were you upgrading from?
2. What is the exact error message you're seeing? If there is a traceback along 
with the error message please reply with that as well.
3. What version of Python are you using here?
4. What platform are you on? Mac, windows, Linux?

-- 
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/0BFBAD2B-D47B-4563-A2F8-410A101AF4F5%40fattuba.com.


Re: Hello from a new user

2021-03-17 Thread Ryan Nowakowski
Hey Mahmood,

Welcome!  Just curious, why reach out to a mailing list for tutorial 
recommendations? I find that Google and other web search engines have this 
covered pretty well.  Do you find that you get better results from mailing 
lists? Do you like the mailing list experience better than web search?

I find that mailing lists are good for detailed Q and A and I prefer web search 
for everything else. 

In any case, I hope we can help you along your journey with Django!

- Ryan

On March 17, 2021 8:01:10 AM CDT, Mahmood  wrote:
>Hi All,
>
>I am a new user to Django and am exploring it for Web development using
>
>Python. I am looking for Django tutorials.
>
>Please guide me to some tutorials,
>
>Regards
>Mahmood
>
>-- 
>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/b8bb849e-e68b-4688-b4d9-b555fa5766e2n%40googlegroups.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/B770CC45-9CBE-489B-81DE-FB09A7DD3E1E%40fattuba.com.


Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread erfan faraj

Hello,

I ran into an issue with channels asgi today. I had a wsgi server which i 
implemented with django and django rest framework. the server streams video 
from a webcam indefinitly and at the same time listens for requests like 
save image which saves a frame on the server or stops and starts the 
stream. this worked fine. at the same time as the livestream i could do 
requests. but when i added asgi to my application so i could use the 
websocket feature for notifications, it stopped working. when i start the 
stream i can do no other request, even the websocket doesn't work. what 
should i do?

-- 
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/e6487860-9402-4822-ac95-90e3920bd668n%40googlegroups.com.


create super user

2021-03-17 Thread arun arunisto
theres an error showing in django while creating superuser, but its 
happening recently, after the update of new version 3.1.7

-- 
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/63a43720-88b9-4077-8284-24c8a1f7b605n%40googlegroups.com.


Hello from a new user

2021-03-17 Thread Mahmood
Hi All,

I am a new user to Django and am exploring it for Web development using 
Python. I am looking for Django tutorials.

Please guide me to some tutorials,

Regards
Mahmood

-- 
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/b8bb849e-e68b-4688-b4d9-b555fa5766e2n%40googlegroups.com.


Re: Calendar based on JS/JQuery needs to communicate with Django

2021-03-17 Thread Ryan Nowakowski
You probably don't need a slug just to group by date. Take a look at the 
regroup and date template tags:

https://stackoverflow.com/a/1255076/226697

On March 17, 2021 5:14:36 AM CDT, Manuel Buri  wrote:
>Hello,
>
>I am having a website where people are able to *make bookings for
>offices*. 
>Clients will click on the *calendar that is rendered in JS/JQuery (on 
>client side)* to select a date and then book for a specific date via a 
>button. To store the booking in my database I am using an Ajax call,
>which 
>works fine. However, I am asking myself now, *how can I properly
>display 
>all bookings for the specific dates? I am not sure how to properly
>retrieve 
>and show the database entries on the client side as dates are selected
>via 
>JS and JQuery.*
>
>I was thinking about using slugs, but then I am unsure how to put the 
>content of the slug (e.g 2021/03/17) into my JS/JQuery code to then 
>properly render the calendar again on the client side.
>
>Maybe my approach is totally wrong and I would need to setup my 
>architecture differently. I am open to any suggestions, however,
>obviously 
>want to do as few changes.
>
>Thank you so much!! Manuel
>
>-- 
>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/7516fecb-1648-41ca-969b-df673d29affbn%40googlegroups.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/9DA62A23-8D4B-44DA-ADE4-3ED3A87E74D8%40fattuba.com.


Calendar based on JS/JQuery needs to communicate with Django

2021-03-17 Thread Manuel Buri
Hello,

I am having a website where people are able to *make bookings for offices*. 
Clients will click on the *calendar that is rendered in JS/JQuery (on 
client side)* to select a date and then book for a specific date via a 
button. To store the booking in my database I am using an Ajax call, which 
works fine. However, I am asking myself now, *how can I properly display 
all bookings for the specific dates? I am not sure how to properly retrieve 
and show the database entries on the client side as dates are selected via 
JS and JQuery.*

I was thinking about using slugs, but then I am unsure how to put the 
content of the slug (e.g 2021/03/17) into my JS/JQuery code to then 
properly render the calendar again on the client side.

Maybe my approach is totally wrong and I would need to setup my 
architecture differently. I am open to any suggestions, however, obviously 
want to do as few changes.

Thank you so much!! Manuel

-- 
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/7516fecb-1648-41ca-969b-df673d29affbn%40googlegroups.com.


Re: Django Tutorial Part 3 Error for Django 3.1

2021-03-17 Thread Ronnie Atuhaire
Thanks!


On Tue, Mar 16, 2021 at 5:01 PM Joel Goldstick 
wrote:

>
>
> On Tue, Mar 16, 2021 at 9:11 AM Ronnie Atuhaire 
> wrote:
>
>> Hello everyone, I joined this platform like a week ago not because I am
>> experienced but because I am new to Django and would like to connect with
>> like  minded people.
>>
>> I have experienced an HTTP404 Error while following this tutorial at 
>> *https://docs.djangoproject.com/en/3.1/intro/tutorial03/
>>  *
>>
>> Writing Views --I am stuck here, I can't see this page.
>>
>> """Take a look in your browser, at “/polls/34/”. It’ll run the detail() 
>> method
>> and display whatever ID you provide in the URL. Try “/polls/34/results/”
>> and “/polls/34/vote/” too – these will display the placeholder results and
>> voting pages""".
>>
>> I have been trying to figure it out but seems I have failed so far, tried
>> stack overflow but no help so far. Any one who is interested in helping me
>> out please let me know.
>> [image: image.png]
>>
>> I will be so grateful.
>>
>> Ronnie A
>>
>> --
>> 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/CAOPBWLc8Af0TtufUiV08m9djKhaodzWW35Kig%2BdrHMuHQfUNng%40mail.gmail.com
>> 
>> .
>>
>
> You haven't entered any url patterns in urls.py
> --
> Joel Goldstick
> http://joelgoldstick.com/blog
> http://cc-baseballstats.info/stats/birthdays
>
> --
> 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/CAPM-O%2BwqTTCk1gf7469Xnun0NMfahLFepOBXcMD6yeCRavnqyA%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/CAOPBWLckrhX5VeD5uJpnqq3Gbf9Eq84xdks12-istvDgPKmavA%40mail.gmail.com.