Re: Error on unauthorized access problem in django

2020-07-18 Thread talk fun
I do not know I am beginner too On Wed, Jul 15, 2020, 12:25 AM Jorge Gimeno wrote: > django.contrib.staticfiles by design will serve static files only when > debug is set to False. It's not designed to serve static files in a > production environment. See here: > https://docs.djangoproject.com

Query Optimization (Huge Data in the Database)

2020-07-18 Thread karthik challa
Hi Experts, I am trying to execute the below query and the query is taking more than 5 minutes. Here are the details Model.py class Url(models.Model): subdomain = models.ForeignKey(Subdomain, null=True, blank=True, related_name='url_subdomain', on_delete=models.SET_NULL,db_index=True) full_

Re: Why passwords are not encrypted automatically in Django?

2020-07-18 Thread Aldian Fazrihady
Hi. Django automatically hashes password when the backend set password using `User.set_password` or `User.create_userr` method. I think the best practice for password is to hash it instead of to encrypt it. Django already done it. On Sun, Jul 19, 2020 at 4:27 AM Ram Mullapudi wrote: > Hi, > > We

Why passwords are not encrypted automatically in Django?

2020-07-18 Thread Ram Mullapudi
Hi, We are using HTML forms in our DJango Web Application and user password is not auto encrypted in DJango. Do we need to write additional code to encrypt the password in Django backend? Best regards -- You received this message because you are subscribed to the Google Groups "Django users"

Re: My first question

2020-07-18 Thread Sead Sejo Gicić
Thanks very much суб, 18. јул 2020. у 16:13 Liu Zheng је написао/ла: > Hi. Doesn't sound like a Django question, but I assume you came across > this question when writing Django codes:) So anyway, let me try to see > whether I could provide any useful information here. > > This question is a bit

Internshala rewards campaign

2020-07-18 Thread KUMBHAGIRI SIVAKRISHNA
https://internshala.com/mega-monsoon-internship-fair?utm_source=refer_copylink&utm_medium=7458200 -- 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+un

Re: Looking For Django Developer for 2-3months(paid accordingly)

2020-07-18 Thread Chaitanya Sai
someone got hired!! Please don't reply this post. Thanks, everyone who applied. On Sat, Jul 18, 2020 at 9:47 AM Ali Murtuza wrote: > Intrested > > On Sat, 18 Jul 2020 at 4:49 AM, Budi Hermansyah < > budi.hermansyah...@gmail.com> wrote: > >> >> >> On Sat, 18 Jul 2020 at 06.02 Sai wrote: >> >>> H

Re: How to save images posted by application users

2020-07-18 Thread Liu Zheng
Hi. Here's a very nice video tutorial on how to handle images with media. https://www.youtube.com/watch?v=FdVuKt_iuSI&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p&index=8 Also to your question on how to deploy it in production, check this video. https://www.youtube.com/watch?v=Sa_kQheCnds&list=PL-osi

Re: My first question

2020-07-18 Thread Liu Zheng
Hi. Doesn't sound like a Django question, but I assume you came across this question when writing Django codes:) So anyway, let me try to see whether I could provide any useful information here. This question is a bit too broad, so let me try to answer it in several levels. First, python doesn

Re: can't find index

2020-07-18 Thread Liu Zheng
I believe you were following the official tutorial on Django's website, and has created a view function called "index" in "polls" app, which was wired to "/polls" url. All the codes were exactly the same as provided in the tutorial. The mistake you made was when you opened the browser and typed

Re: Looking For Django Developer for 2-3months(paid accordingly)

2020-07-18 Thread Ali Murtuza
Intrested On Sat, 18 Jul 2020 at 4:49 AM, Budi Hermansyah < budi.hermansyah...@gmail.com> wrote: > > > On Sat, 18 Jul 2020 at 06.02 Sai wrote: > >> Hi Djangonauts, >> I am looking for Django Developer who has excellent Experience(3years >> minimum) in the following. >> These are Must have: >> 1)