Re: Debug error when c

2023-03-30 Thread Usra Saeed
In urls.py file your mentioned url is not existed

On Thu, 30 Mar 2023, 10:48 pm Ricky Abura,  wrote:

> Hi,
> I am learning django, in the process of developing youtube clone, I meet
> the attached error when installing django debug toolbar. I don't know where
> I am not getting right but I strictly follow some tutorial. Any assistance
> 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/fd470375-10c2-4c97-93d3-feaed4130dc1n%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/CABKCzOM1K%2BQVucpM2D22SGvESpaV%2BjdBZ3HPcVGX3Mp2OzK76g%40mail.gmail.com.


Re: Debug error when c

2023-03-30 Thread Usra Saeed
Hi, are you installing django on Visual Studio and during this installation
you got this error?

On Thu, 30 Mar 2023, 10:48 pm Ricky Abura,  wrote:

> Hi,
> I am learning django, in the process of developing youtube clone, I meet
> the attached error when installing django debug toolbar. I don't know where
> I am not getting right but I strictly follow some tutorial. Any assistance
> 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/fd470375-10c2-4c97-93d3-feaed4130dc1n%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/CABKCzOOGpi-gCEhS1Hjuz1-f1vAsO9Lekv%3DHDocmT6XQF_H2Ng%40mail.gmail.com.


Re: Django Hosting on HTTPS with nginix AWS

2023-03-30 Thread Himanshu Shekhar Mohapatra
Thank you very much everyone.

I gathered valuables from your references and also from other links.

It works now!!

Regards,
Himanshu

On Thu, 30 Mar 2023 at 7:06 PM, data storage 
wrote:

> hii,Himanshu
>
> https://www.youtube.com/watch?v=dBTIAfi7y5U
>
>
> On Tue, Mar 28, 2023 at 3:22 PM Himanshu Shekhar Mohapatra <
> himanshu.mohapatr...@gmail.com> wrote:
>
>> Hi all,
>>
>> Please help me with any curated list of steps using which I can host
>> Django application in aws ubuntu with https certificate.
>>
>> Tried a lot of tutorials but something is missing somewhere.
>>
>> Thanks a lot!
>> --
>> Sent from Gmail Mobile
>>
>> --
>> 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/CAHF%2BW75vReP2Wsucc_j1ES1N_Fu4Q2GVu%3DM7B%2BKWoDYzPTpkVg%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/CAMPo4vPht8yLLz%3DwF7NON3%2BPKKTusgeoWH0ySX9SYpYeYafncQ%40mail.gmail.com
> 
> .
>
-- 
Sent from Gmail Mobile

-- 
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/CAHF%2BW76Qvhjjy-3vir1zQ%2B%3Dc2cM7wdQfV%3D9m-4mt%3DpPd28dOJg%40mail.gmail.com.


Re: Debug error when c

2023-03-30 Thread Chetan Ganji
You are trying to hit a url that doesnt exist in your django app
Documentation says you have to add it url, but you dont have to visit that
url.
https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#add-the-urls

When you visit any other url in the app, one toolbar will be shown in the
right hand side of the display.

Try this out
https://www.youtube.com/watch?v=qWLk9S6mvAY

I hope it helps you!

Regards,
Chetan Ganji
+91-900-483-4183
ganji.che...@gmail.com
http://ryucoder.in


On Thu, Mar 30, 2023 at 11:18 PM Ricky Abura  wrote:

> Hi,
> I am learning django, in the process of developing youtube clone, I meet
> the attached error when installing django debug toolbar. I don't know where
> I am not getting right but I strictly follow some tutorial. Any assistance
> 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/fd470375-10c2-4c97-93d3-feaed4130dc1n%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/CAMKMUjuMyU-y8ysQ7rWJ4WNk04ZxbD7NBNT%3D8aZj6Ke-tcjoMA%40mail.gmail.com.


Debug error when c

2023-03-30 Thread Ricky Abura
Hi,
I am learning django, in the process of developing youtube clone, I meet 
the attached error when installing django debug toolbar. I don't know where 
I am not getting right but I strictly follow some tutorial. Any assistance 
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/fd470375-10c2-4c97-93d3-feaed4130dc1n%40googlegroups.com.


Re: What makes the images deletion from the media folder?

2023-03-30 Thread ram.mu...@gmail.com
Hello David,

We are not using a docker container but our server is a dedicated cloud 
instance.

Best regards,
~Ram



On Thursday, March 23, 2023 at 10:34:44 PM UTC-6 David Nugent wrote:

> Are you using Django in a docker container?
>
> If so, any changes to the filesystem are ephemeral and disappear when the 
> container is recycled.
>
>
> Regards,
> David
>
>
> -- Original Message --
> From "Ram" 
> To django...@googlegroups.com
> Date 3/24/2023 2:04:56 PM
> Subject What makes the images deletion from the media folder?
>
> Hi,
>
> We are seeing weird issue that images are deleted between deployments in 
> our Dev. server and we are seeing this message in log files:
>
> example:
>
> WARNING 2023-03-10 07:03:16,927 - Not Found: /media/cl_1zf3am8.JPG
>
>
> Could someone let me know what could be the issue?
>
> Best regards,
> ~Ram 
>
> -- 
> 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/CA%2BOi5F2mTfx%2B32XKjM__gkgp0i7vPKgWsGuGVGQsr%3DSX_U0MRg%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/2ba08875-fb1a-4f11-a2db-435d9973c7c4n%40googlegroups.com.


Re: The problem of versioning a large project.

2023-03-30 Thread Aharon Leibman
Could you give more information, please?
the project structure provided to your GIT repository
It is not entirely clear how you perform separation by application

среда, 29 марта 2023 г. в 22:06:29 UTC+3, Alex Sonar: 

> The problem of versioning a large project.
>
> Hi guys, I really got stuck with the challenge, with the design of 
> versioning for a large project.
>
> Now we have organized versioning, where our project is divided into 
> separate GIT repositories which are created for each application.
>
> The new necessity point is to split some of them for front-end and 
> back-and developers.
>
> The task looks like bad practice, where we have to create a repository 
> within another one.
>
> Or redesign the file structures of the application itself, to meet this 
> requirement.
>
> If someone has a similar challenge or practice and helps me make the right 
> decision, I will be very grateful.
>

-- 
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/1c6c4e0d-8f99-4ff0-97ba-ed679e608ee1n%40googlegroups.com.


AW: Scheduler with Django on Windows platform

2023-03-30 Thread Michael Schmeinck
Hi Robbi,

one solution to create a platform independent scheduler is to use the package 
Django-background-tasks.
see: https://django-background-tasks.readthedocs.io/en/latest/


This solution works for me.

Greetings and good luck
Michael


Von: django-users@googlegroups.com  im Auftrag 
von Michael kosy 
Datum: Dienstag, 28. März 2023 um 11:38
An: django-users@googlegroups.com 
Betreff: Re: Scheduler with Django on Windows platform
Try,
https://docs.celeryproject.org/en/stable/django/first-steps-with-django.html

On Tue, Mar 28, 2023, 10:27 AM Robbi Nespu 
mailto:robbine...@gmail.com>> wrote:
Hi Django developers,
I am looking for any package that can do scheduler job. I am used with
"Django-crontab" but I can't use it on windows platform.

Do you guys have any suggestion?

--
Regards
Robbi Nespu

PGP: D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA

--
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/f31e3081-86c8-dc0c-0239-63582f62b436%40gmail.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/CAAKreuu6B9pNVhPGbSv62ccoF0276EprWVqWS7hUK_xZugSeWQ%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/PAXP193MB2217CBF63D9A8927828622C1FB8E9%40PAXP193MB2217.EURP193.PROD.OUTLOOK.COM.


Re: Django Hosting on HTTPS with nginix AWS

2023-03-30 Thread data storage
hii,Himanshu

https://www.youtube.com/watch?v=dBTIAfi7y5U


On Tue, Mar 28, 2023 at 3:22 PM Himanshu Shekhar Mohapatra <
himanshu.mohapatr...@gmail.com> wrote:

> Hi all,
>
> Please help me with any curated list of steps using which I can host
> Django application in aws ubuntu with https certificate.
>
> Tried a lot of tutorials but something is missing somewhere.
>
> Thanks a lot!
> --
> Sent from Gmail Mobile
>
> --
> 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/CAHF%2BW75vReP2Wsucc_j1ES1N_Fu4Q2GVu%3DM7B%2BKWoDYzPTpkVg%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/CAMPo4vPht8yLLz%3DwF7NON3%2BPKKTusgeoWH0ySX9SYpYeYafncQ%40mail.gmail.com.


Re: TypeError at /register User() got unexpected keyword arguments: 'name1', 'name2', 'country'

2023-03-30 Thread Fathimanesmi As
django user has the following fields model :

   - username 
   

   - password 
   

   - email 
   

   - first_name 
   

   - last_name 
   

   there is no name1 and name2 attributes.Refer to the django documentation 
   for full details.

user = User.objects.create_user(first_name=name1, last_name= name2)
user.save()

On Thursday, 30 March, 2023 at 5:30:01 am UTC-4 Ebenezer Otchere wrote:

> ohk below is the screenshoot of the model.py
> [image: Screenshot (6).png]
>
> On Thursday, March 30, 2023 at 1:58:10 AM UTC-7 Alex Sonar wrote:
>
>> Hi Ebenezer, Could I ask you to show the content of the model file, 
>> please?
>>
>> On Thursday, March 30, 2023 at 5:21:06 AM UTC+3 Ebenezer Otchere wrote:
>>
>>> I am trying to collect user information and save in my database but i 
>>> keep getting this error
>>> and i dont know the way around it so help me the codes and the error 
>>> page are below
>>> [image: Screenshot (3).png][image: Screenshot (4).png][image: 
>>> Screenshot (5).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 web visit 
https://groups.google.com/d/msgid/django-users/725f18b1-0ad2-45ce-a075-f9dcdd316018n%40googlegroups.com.


Re: TypeError at /register User() got unexpected keyword arguments: 'name1', 'name2', 'country'

2023-03-30 Thread Alex Sonar
Hi Ebenezer, Could I ask you to show the content of the model file, please?

On Thursday, March 30, 2023 at 5:21:06 AM UTC+3 Ebenezer Otchere wrote:

> I am trying to collect user information and save in my database but i keep 
> getting this error
> and i dont know the way around it so help me the codes and the error page 
> are below
> [image: Screenshot (3).png][image: Screenshot (4).png][image: Screenshot 
> (5).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 web visit 
https://groups.google.com/d/msgid/django-users/65480c4f-7d81-49ea-a735-4576a8315080n%40googlegroups.com.