Re: Best way to modified third party app database restrictions?

2019-04-12 Thread Yongky Tria Putra
Almost forget. It thanks to Peterino comments on this https://stackoverflow.com/a/2357942/2579404 On Friday, April 12, 2019 at 6:16:04 PM UTC+7, Yongky Tria Putra wrote: > > I solve it with this two lines code in my models: > > from thirdparty.models import > ParentModelClassP

Re: Best way to modified third party app database restrictions?

2019-04-12 Thread Yongky Tria Putra
t will help others with similar situation as well. On Thursday, April 11, 2019 at 6:46:32 PM UTC+7, Yongky Tria Putra wrote: > > Hello everyone, > > What is the best way to modified database field restrictions in third > party app (pretix)? Currently, i want to change max_digits=7

Best way to modified third party app database restrictions?

2019-04-11 Thread Yongky Tria Putra
Hello everyone, What is the best way to modified database field restrictions in third party app (pretix)? Currently, i want to change max_digits=7 to max_digits=9 in database below. default_price = models.DecimalField( decimal_places=2, max_digits=7, null=True, blank=True, verbose_name=_("Def