Re: Slow Performance of Django Web App

2023-06-11 Thread Vishesh Mangla
Try cdn, and use Statics based on screen size

On Mon, 12 Jun, 2023, 11:14 Vishesh Mangla, 
wrote:

> Lmao
>
> On Mon, 12 Jun, 2023, 10:54 Kunal Mittal,  wrote:
>
>> I have read various docs on performance optimization, but still not
>> getting what's taking to render templates and what's the bottleneck when
>> cache get cleared, I takes around 12 hours for application to run smoothly
>> after that event.
>>
>> On Monday, June 12, 2023 at 10:53:06 AM UTC+5:30 Kunal Mittal wrote:
>>
>>> Hi, we are using Django 1.8.5
>>> Architecture is like -  Nginx side car -> wsgi server (gunicorn) ->
>>> application
>>> On Monday, June 12, 2023 at 1:06:18 AM UTC+5:30 Mz Gz wrote:
>>>
 What server do you use ?

 On Sun, 11 Jun 2023, 10:00 pm Kunal Mittal, 
 wrote:

> I've a django application serving 10k+ users daily, that application
> has everything to be on the top of performance metrics but still some 
> API's
> have high latencies, application serves lots of pages with nice css and
> various images, on most the pages they are being served by s3 while on 
> some
> it's via django static files. We have implemented caching on akamai for
> every static file that application serves, whenever that cache disappears
> latency of each and every API spikes exponentially, at that time even
> loading metrics becomes a pain, server does not pick those requests. Can
> anyone suggest what's going on here.
>
> --
> 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/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%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/e07d773a-db82-4a09-b73c-f36ac90322b1n%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/CACaE8x4G%3D14_4fw8LELef_FYzRnASFiSdHqqZm47_1k6CuBxgg%40mail.gmail.com.


Re: Slow Performance of Django Web App

2023-06-11 Thread Vishesh Mangla
Lmao

On Mon, 12 Jun, 2023, 10:54 Kunal Mittal,  wrote:

> I have read various docs on performance optimization, but still not
> getting what's taking to render templates and what's the bottleneck when
> cache get cleared, I takes around 12 hours for application to run smoothly
> after that event.
>
> On Monday, June 12, 2023 at 10:53:06 AM UTC+5:30 Kunal Mittal wrote:
>
>> Hi, we are using Django 1.8.5
>> Architecture is like -  Nginx side car -> wsgi server (gunicorn) ->
>> application
>> On Monday, June 12, 2023 at 1:06:18 AM UTC+5:30 Mz Gz wrote:
>>
>>> What server do you use ?
>>>
>>> On Sun, 11 Jun 2023, 10:00 pm Kunal Mittal,  wrote:
>>>
 I've a django application serving 10k+ users daily, that application
 has everything to be on the top of performance metrics but still some API's
 have high latencies, application serves lots of pages with nice css and
 various images, on most the pages they are being served by s3 while on some
 it's via django static files. We have implemented caching on akamai for
 every static file that application serves, whenever that cache disappears
 latency of each and every API spikes exponentially, at that time even
 loading metrics becomes a pain, server does not pick those requests. Can
 anyone suggest what's going on here.

 --
 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/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%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/e07d773a-db82-4a09-b73c-f36ac90322b1n%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/CACaE8x63fZiLs_rkSZEYEi8upnp_9Ljc_Z4cJz56eTGJdbDJXA%40mail.gmail.com.


Re: Slow Performance of Django Web App

2023-06-11 Thread Kunal Mittal
I have read various docs on performance optimization, but still not getting 
what's taking to render templates and what's the bottleneck when cache get 
cleared, I takes around 12 hours for application to run smoothly after that 
event.

On Monday, June 12, 2023 at 10:53:06 AM UTC+5:30 Kunal Mittal wrote:

> Hi, we are using Django 1.8.5
> Architecture is like -  Nginx side car -> wsgi server (gunicorn) -> 
> application
> On Monday, June 12, 2023 at 1:06:18 AM UTC+5:30 Mz Gz wrote:
>
>> What server do you use ?
>>
>> On Sun, 11 Jun 2023, 10:00 pm Kunal Mittal,  wrote:
>>
>>> I've a django application serving 10k+ users daily, that application has 
>>> everything to be on the top of performance metrics but still some API's 
>>> have high latencies, application serves lots of pages with nice css and 
>>> various images, on most the pages they are being served by s3 while on some 
>>> it's via django static files. We have implemented caching on akamai for 
>>> every static file that application serves, whenever that cache disappears 
>>> latency of each and every API spikes exponentially, at that time even 
>>> loading metrics becomes a pain, server does not pick those requests. Can 
>>> anyone suggest what's going on here. 
>>>
>>> -- 
>>> 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/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%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/e07d773a-db82-4a09-b73c-f36ac90322b1n%40googlegroups.com.


Re: Slow Performance of Django Web App

2023-06-11 Thread Kunal Mittal
Hi, we are using Django 1.8.5
Architecture is like -  Nginx side car -> wsgi server (gunicorn) -> 
application
On Monday, June 12, 2023 at 1:06:18 AM UTC+5:30 Mz Gz wrote:

> What server do you use ?
>
> On Sun, 11 Jun 2023, 10:00 pm Kunal Mittal,  wrote:
>
>> I've a django application serving 10k+ users daily, that application has 
>> everything to be on the top of performance metrics but still some API's 
>> have high latencies, application serves lots of pages with nice css and 
>> various images, on most the pages they are being served by s3 while on some 
>> it's via django static files. We have implemented caching on akamai for 
>> every static file that application serves, whenever that cache disappears 
>> latency of each and every API spikes exponentially, at that time even 
>> loading metrics becomes a pain, server does not pick those requests. Can 
>> anyone suggest what's going on here. 
>>
>> -- 
>> 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/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%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/92e8a1e1-9956-4fd5-881e-e0929703b183n%40googlegroups.com.


Re: SMTP Not working In Cpanel Production server.

2023-06-11 Thread Prateek Lodhi
# EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'ticket...@gmail.com'
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS =False

 I had a conversation with go daddy. They told me to do EMAIL_HOST to the
localhost. I tired. but still it's not working.
EMAIL_HOST = 'localhost'
EMAIL_PORT = 25
EMAIL_HOST_USER = 'ticket...@gmail.com'
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS =False
On Sun, 11 Jun 2023 at 13:56, Dushime Mudahera Richard <
mudaherar...@gmail.com> wrote:

> can you provide a copy of the codes you are using ?
> i would advise also to check the path in your file
>
> *Best Regards *
> *Dushime Mudahera Richard*
> *Google Crowdsource Influencer | M L Facilitator | OLS P Lead | *
> *Visit me *: My Portfolio 
> *Website *: www.bluebirdsocceracademy.org
> | Open Science Ambassador | Sports | Mentorship | Leadership | Girl Child
> Empowerment |
>
>
>
> On Sun, Jun 11, 2023 at 1:28 AM Prateek Lodhi <
> prateeklodhigloi...@gmail.com> wrote:
>
>> I am trying to use email SMTP in my project. the SMTP is working properly
>> in local server but it's not working on Cpanel. Any solutions 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/337c8135-458d-4a65-b25e-445668dd46e7n%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/CAJCm56Jztc%3Dw%3DrBjn0pqmu6k5W452L7mVRG2wR%3DmMDUqGFw2Jw%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/CAEKYTewDBtEQ%3DH%3DzgBc1D-hvrMGf%3DjOX8ZQ_3zsZxkFJsGH40A%40mail.gmail.com.


Re: Slow Performance of Django Web App

2023-06-11 Thread carlos
Hi, your read this docs
https://docs.djangoproject.com/en/4.2/topics/performance/
and this too
https://djangostars.com/blog/django-performance-optimization-tips/

maybe help you
Cheers

On Sun, Jun 11, 2023 at 1:00 PM Kunal Mittal 
wrote:

> I've a django application serving 10k+ users daily, that application has
> everything to be on the top of performance metrics but still some API's
> have high latencies, application serves lots of pages with nice css and
> various images, on most the pages they are being served by s3 while on some
> it's via django static files. We have implemented caching on akamai for
> every static file that application serves, whenever that cache disappears
> latency of each and every API spikes exponentially, at that time even
> loading metrics becomes a pain, server does not pick those requests. Can
> anyone suggest what's going on here.
>
> --
> 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/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com
> 
> .
>


-- 
att.
Carlos Rocha

-- 
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/CAM-7rO0i09GHST4OMo7JeKVZhfZ7VnT%3DDPCsVfPQjDeRDrCAfA%40mail.gmail.com.


Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bradie Poa
This is mostly cause be mismatch of migrations. In the migrations folder.
If deleting the db fails to work for you. You need to delete or migrations
folders and then re-do the process of makemigrations and migrate. This will
play you the magic

On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma  wrote:

> Hi,
>   This seems a bit unexpected behaviour,could you tell us all the steps
> you followed from the beginning and at what step is it giving error?
>
> On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu <
> ionicescu.alexandrugabr...@gmail.com> wrote:
>
>> hello, I have a project and I use django.
>> I'm trying to do my migrations for bd but I can't do them. it gives me
>> the error django.db.utils.OperationalError: no such table: user_user.
>> I also made a User class (AbstractUser) and it still doesn't work. What
>> can I do?
>> I mention that in settings.py I have:
>>   DATABASES = {
>>  'default': {
>>  'ENGINE': 'django.db.backends.sqlite3',
>>  'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
>>  }
>> }
>> MEDIA_ROOT = os.path.join(BASE_DIR, 'images')
>> MEDIA_URL = '/images/'
>>
>> --
>> 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/3e36f332-c199-41b7-baf3-43da1c3d437en%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/CA%2BZJHEoB-ooH_sJmPCb8fNrPs1L6rrOvmuwbTS6MKQb8Z3biWg%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/CAJkmis3DA%2BCUJW%3DJs_wO1skrRdUEKJrM7C9%3DvoCTyrKjkN7kwg%40mail.gmail.com.


Re: Code written by Senior Django Developers

2023-06-11 Thread Babatunde Akinyanmi
Hi Joseph,
Django is open source. Feel free to dive in. Or better still, go through
pull requests so that you can see the context for parts of the code and
also what functionality they provide.

On Sun, 11 Jun 2023 at 20:00, Joseph Balogun  wrote:

> Hi Django fam!
>
> Can you pls recommend a resource where I can get reliable Django/Python
> code?
>
> I recently learned about code transcription- that by writing and analyzing
> code written by Senior Django Developers, I can become a better programmer.
>
> Your input would be greatly appreciated.
>
> Thanks.
>
> --
> 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/17f8c6ee-bf6e-42a6-9449-b2149f990672n%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/CA%2BWjgXPreEO2BsqRB5c1_jBzic%2BftNK5v1V5jse4zPaVQkjJ_A%40mail.gmail.com.


Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bradie Poa
Delete the delete the database, makemigrations and then migrate.

On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma  wrote:

> Hi,
>   This seems a bit unexpected behaviour,could you tell us all the steps
> you followed from the beginning and at what step is it giving error?
>
> On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu <
> ionicescu.alexandrugabr...@gmail.com> wrote:
>
>> hello, I have a project and I use django.
>> I'm trying to do my migrations for bd but I can't do them. it gives me
>> the error django.db.utils.OperationalError: no such table: user_user.
>> I also made a User class (AbstractUser) and it still doesn't work. What
>> can I do?
>> I mention that in settings.py I have:
>>   DATABASES = {
>>  'default': {
>>  'ENGINE': 'django.db.backends.sqlite3',
>>  'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
>>  }
>> }
>> MEDIA_ROOT = os.path.join(BASE_DIR, 'images')
>> MEDIA_URL = '/images/'
>>
>> --
>> 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/3e36f332-c199-41b7-baf3-43da1c3d437en%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/CA%2BZJHEoB-ooH_sJmPCb8fNrPs1L6rrOvmuwbTS6MKQb8Z3biWg%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/CAJkmis3FjN%3DrFZLkVaiEKjHk0Nhuw9e5pYT15kTTTYQ8D5_CpQ%40mail.gmail.com.


Re: Slow Performance of Django Web App

2023-06-11 Thread Mz Gz
What server do you use ?

On Sun, 11 Jun 2023, 10:00 pm Kunal Mittal,  wrote:

> I've a django application serving 10k+ users daily, that application has
> everything to be on the top of performance metrics but still some API's
> have high latencies, application serves lots of pages with nice css and
> various images, on most the pages they are being served by s3 while on some
> it's via django static files. We have implemented caching on akamai for
> every static file that application serves, whenever that cache disappears
> latency of each and every API spikes exponentially, at that time even
> loading metrics becomes a pain, server does not pick those requests. Can
> anyone suggest what's going on here.
>
> --
> 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/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%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/CAHV4E-eyOdQd4ZopAtMZuHt2wCSjRxsTsRYt58H4F%2B3qihaDdA%40mail.gmail.com.


Re: CSV file

2023-06-11 Thread Mz Gz
Percy, when you use Pandas dataframe you can use merge() function, it works
just like sql join

On Sun, 11 Jun 2023, 5:48 am Alec Delaney, <96alecpatr...@gmail.com> wrote:

> For server
>
> On Thu, Jun 8, 2023, 15:03 Percy Masekwameng <
> percymasekwameng...@gmail.com> wrote:
>
>> Hi
>>
>> I have web app survey that collect data and generate a CSV file,
>> I'm using railway to deploy my web app, running on 8GB RAM and each time
>> I generate a file, the server goes down and display "Application failed to
>> respond" the database table has over 2k records
>> Is there any way to improve the performance so that I can be able to
>> download large dataset from the web app?
>>
>> --
>> 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/CANfc-pBoutR0kD%3DcqwRHGSQ8gac%2B_YLMyCQoFK--%3DD54TZpotA%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/CAFGN%3DGiUQMhWC42LnWbCTuXv5TROrDNjU%2BQLGKU2C_4aQVoLjw%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/CAHV4E-dkvMxxgiqQCF%3DzWJkzUmYdG8M6UrBzSKRgx9NeZYYTSw%40mail.gmail.com.


Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bhuvnesh Sharma
Hi,
  This seems a bit unexpected behaviour,could you tell us all the steps you
followed from the beginning and at what step is it giving error?

On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu <
ionicescu.alexandrugabr...@gmail.com> wrote:

> hello, I have a project and I use django.
> I'm trying to do my migrations for bd but I can't do them. it gives me the
> error django.db.utils.OperationalError: no such table: user_user.
> I also made a User class (AbstractUser) and it still doesn't work. What
> can I do?
> I mention that in settings.py I have:
>   DATABASES = {
>  'default': {
>  'ENGINE': 'django.db.backends.sqlite3',
>  'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
>  }
> }
> MEDIA_ROOT = os.path.join(BASE_DIR, 'images')
> MEDIA_URL = '/images/'
>
> --
> 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/3e36f332-c199-41b7-baf3-43da1c3d437en%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/CA%2BZJHEoB-ooH_sJmPCb8fNrPs1L6rrOvmuwbTS6MKQb8Z3biWg%40mail.gmail.com.


Code written by Senior Django Developers

2023-06-11 Thread Joseph Balogun
Hi Django fam!

Can you pls recommend a resource where I can get reliable Django/Python 
code?

I recently learned about code transcription- that by writing and analyzing 
code written by Senior Django Developers, I can become a better programmer.

Your input would be greatly appreciated.

Thanks.

-- 
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/17f8c6ee-bf6e-42a6-9449-b2149f990672n%40googlegroups.com.


problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Alexandru - Gabriel Ionicescu
hello, I have a project and I use django.
I'm trying to do my migrations for bd but I can't do them. it gives me the 
error django.db.utils.OperationalError: no such table: user_user.
I also made a User class (AbstractUser) and it still doesn't work. What can 
I do?
I mention that in settings.py I have:
  DATABASES = {
 'default': {
 'ENGINE': 'django.db.backends.sqlite3',
 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
 }
}
MEDIA_ROOT = os.path.join(BASE_DIR, 'images')
MEDIA_URL = '/images/'

-- 
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/3e36f332-c199-41b7-baf3-43da1c3d437en%40googlegroups.com.


Slow Performance of Django Web App

2023-06-11 Thread Kunal Mittal
I've a django application serving 10k+ users daily, that application has 
everything to be on the top of performance metrics but still some API's 
have high latencies, application serves lots of pages with nice css and 
various images, on most the pages they are being served by s3 while on some 
it's via django static files. We have implemented caching on akamai for 
every static file that application serves, whenever that cache disappears 
latency of each and every API spikes exponentially, at that time even 
loading metrics becomes a pain, server does not pick those requests. Can 
anyone suggest what's going on here.

-- 
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/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com.


Re: Looking For Internship

2023-06-11 Thread Gobi Dasu
Feel free to send your resume to us at i...@ldtalentwork.com

More details on ldtalentwork.com/talent/

We have a number of open jobs as per ldtalentwork.com/jobs/

Gobi Dasu - ldtalentwork.com

On Mon, Jun 5, 2023, 09:08 SOUL PRIORITY  wrote:

> Hello dear Community,
>
> My name is Nicholas Eneh (Soul Priority) from Nigeria. For the
> past few months, I have been on the journey of learning web development. So
> far, I have been able to gain some knowledge on HTML, CSS, Python and
> presently on Django. With the view to garnering more experience in the tech
> industry over these courses, I seek an internship to bolster and sharpen my
> skills in this industry. I will be very glad if you can help.
>
> Thank You
>
> --
> 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/ab70241d-f3eb-45bb-ab74-1504c89430adn%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/CAMk8evkE0H%2B%2BghQm%3DmdoF_2xfjPOQcV7ncBeGUOHowJX2%2BAqfg%40mail.gmail.com.


Re: SMTP Not working In Cpanel Production server.

2023-06-11 Thread Dushime Mudahera Richard
can you provide a copy of the codes you are using ?
i would advise also to check the path in your file

*Best Regards *
*Dushime Mudahera Richard*
*Google Crowdsource Influencer | M L Facilitator | OLS P Lead | *
*Visit me *: My Portfolio 
*Website *: www.bluebirdsocceracademy.org
| Open Science Ambassador | Sports | Mentorship | Leadership | Girl Child
Empowerment |



On Sun, Jun 11, 2023 at 1:28 AM Prateek Lodhi 
wrote:

> I am trying to use email SMTP in my project. the SMTP is working properly
> in local server but it's not working on Cpanel. Any solutions 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/337c8135-458d-4a65-b25e-445668dd46e7n%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/CAJCm56Jztc%3Dw%3DrBjn0pqmu6k5W452L7mVRG2wR%3DmMDUqGFw2Jw%40mail.gmail.com.


Re: SMTP Not working In Cpanel Production server.

2023-06-11 Thread ome chukwuemeka
what did you use as your email host? if you used mail.example.com, try to
change it to localhost



[image: Mailtrack]

Sender
notified by
Mailtrack

06/11/23,
08:42:11 AM

On Sat, Jun 10, 2023 at 11:28 PM Prateek Lodhi <
prateeklodhigloi...@gmail.com> wrote:

> I am trying to use email SMTP in my project. the SMTP is working properly
> in local server but it's not working on Cpanel. Any solutions 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/337c8135-458d-4a65-b25e-445668dd46e7n%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/CAKRDgxGVsAum7rBu4FTBwcZEoRXsddda81PMZkMJRrtyXoKWuA%40mail.gmail.com.