Hello Guys am new to Django
I want to have a model which will have all smtp setup for email.
class EmailSetup(models.Model):
# model for smtp email EmailSetup
host = models.CharField(defaut='', blank=False, null=False)
host_user = models.EmailField(defaut='', blank=False, null=False)
Hi!
I think you've found the wrong mailing list for this post. This mailing
list is for the development of Django itself, not for support using Django.
This means the discussions of bugs and features in Django itself, rather
than in your code using it. People on this list are unlikely to answer yo
Week ending May 19, 2019.
*Triaged:*
https://code.djangoproject.com/ticket/30473 - len() and count() yield
different results on randomly ordered QuerySet with annotation. (duplicate)
https://code.djangoproject.com/ticket/30474 - Minor change to documentation
on many-to-many relationships. (inval
Hello Raphael,
> Have there ever been any surveys about how the size of Django projects? I
don't know the value of investigating this further except for our own usage.
I'm not aware of any similar surveys in the recent years but I would say *240
models across 90 apps, with roughly 500 migration
Thanks Raphael for bringing this topic up and Simon for your input already.
I just left a note on your PR:
https://github.com/django/django/pull/11388#issuecomment-494076750 . I'll quote
it here for ease of readability:
As far as I can see right now, a similar caching happened as a first approa
Hi Markus, Simon,
Both of you, thank you for the detailed replies and status report on
this sort of stuff.
Did you look into squashing these 500 migrations by any chance?
Yeah so I'll go in and squash things, though (partly because effective
squashing requires moving models around, though