Re: How to trigger system check while running development server?

2020-03-04 Thread One Above All
Arora wrote: > can you explain more with some code, the exact question .? > > Cheers, > Naveen Arora > > On Thursday, 27 February 2020 20:01:00 UTC+5:30, One Above All wrote: >> >> I am updating a settings in my test which should raise exception on >> illegal entri

Re: Is it possible to extend the model in another application without explicitly changing firs-one?

2020-02-27 Thread One Above All
It is indeed possible, but I am not sure whether it should be done this way. On Thu, Feb 27, 2020 at 11:04 PM Ol P wrote: > I try to figure out if it possible to implement the next scenario: > > garage (app-A) > models >class Vehicle(models.Model) > vin=models.CharField(max_length=50)

Re: Is it possible to extend the model in another application without explicitly changing firs-one?

2020-02-27 Thread One Above All
I am not sure if this is the right way. On Thu, Feb 27, 2020 at 11:24 PM One Above All < the.one.above.all.ti...@gmail.com> wrote: > It is indeed possible, but I am not sure whether it should be done this > way. > > On Thu, Feb 27, 2020 at 11:04 PM Ol P wrote: > >>

How to trigger system check while running development server?

2020-02-27 Thread One Above All
I am updating a settings in my test which should raise exception on illegal entries, but merely updating settings does not make django perform system checks. Is there any method which I can call to trigger those checks? -- You received this message because you are subscribed to the Google Grou

Re: Contractions in Django 3.0 and Django 2.2

2020-02-09 Thread One Above All
edy.net > > > On Sat, Feb 8, 2020 at 3:48 PM One Above All < > the.one.above.all.ti...@gmail.com> wrote: > >> i am working on a project which is adding support for Django 3.0. While >> doing so, I came across ticket # 30400 >> https://code.djangoproject.com/tic

Contractions in Django 3.0 and Django 2.2

2020-02-08 Thread One Above All
i am working on a project which is adding support for Django 3.0. While doing so, I came across ticket # 30400 https://code.djangoproject.com/ticket/30400 after which contractions were rewritten. I am writing a test which should work with both Django 3.0 and 2.2. I have to assert error_messages

Error messages in SetPasswordForm

2020-02-05 Thread One Above All
In *django.contrib.auth.forms* there is a class named *SetPasswordForm* which has a dictionary member *error_messages*. It is defined as follows: *error_messages = {* *'password_mismatch': _('The two password fields didn’t match.'),* *}* A special character has been used for apostrophe