Relative Content

Tag Archive for djangodjango-models

Naming an abstract model Django

What is the standard for naming Django abstract classes? My team leader insists that the name of the abstract model should consist of the fields available in it. for example, IsPublishedAndCreatedAt. But My class:

Yet another BS error from the lovely Django: django.db.utils.IntegrityError: NOT NULL constraint failed

Right, just because I just simply love having my time wasted by Django’s silly temper tantrums (because it clearly identifies as a spoiled little five-year-old child and not a framework that just does what the programmer tells it to do), is there any particular valid reason as to why, once again, Django is throwing an “exception” (it’s adorable you call it an “exception”, i feel “tempter tantrum” would be more of an apt name – I may put that to the Django team as an idea for their next release) of: