Failed to send Email by Django

2023-03-24 Thread bing
I am using the email module in Django to inform of users with their registration. Sometimes it can send email successfully, but more often, it fails. I searched for many solutions, but did not change this situation. The following is what I have configured: settings.py: EMAIL_BACKEND = 'django.co

ordering in the ManyRelatedManager object

2008-06-22 Thread Bing
Hi, I have a general question regarding the ordering in the ManyRelatedManager object. For example, There are two classes in my model: one is called Book for books and another is Author for authors. A many-to-many field is defined in class Book authors = models.ManyToManyField(Author) In

deploying django at unix/linux homepage space without root access

2008-05-05 Thread Bing
I have a small django application which is running on a development server. The platform is linux and I am able to view the django-powered pages at the url like http://127.0.0.1:8000/ Now if I want to deploy the website so that other people can visit it under my homepage space, http://name.of.s