Model manager attributes

2017-10-14 Thread Naveen Yadav
I have few questions about manager class *creation_counter* is used to keep track of Manager's instance being created, what is the motivation behind this ? and what is the purpose of* check() *which returns empty list ?

Re: raise error for form attribute

2017-05-11 Thread Naveen Yadav
On Wednesday, 10 May 2017 16:48:00 UTC+5:30, Naveen Yadav wrote: > > Hi, > > I am working on my first issue > <https://code.djangoproject.com/ticket/28171>. Part of solution seems > like > 1. checking the concerned fields > 2. raising the error if required

raise error for form attribute

2017-05-10 Thread Naveen Yadav
Hi, I am working on my first issue . Part of solution seems like 1. checking the concerned fields 2. raising the error if required After going through the source code, I realized there two ways to resolve the issue, first one seems raise error at

sys.exit to reload files ?

2014-07-18 Thread Naveen Yadav
sys.exit() method is used to exit the python interpreter I have been going through the Django source code in file *django/utils/autoreload.py*def reloader_thread(): ensure_echo_on() while RUN_RELOADER: if code_changed(): *sys.exit(3) # force reload*