Sure. May I know what’s the reason not to use in model code? So How can I develop my project?
With thanks , Vikrant > On Aug 15, 2018, at 6:38 PM, Jason <[email protected]> wrote: > > I suggest you do that in the django shell in the terminal, not in the model > code. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/django-users > <https://groups.google.com/group/django-users>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/bcd68cfc-fe9e-4eb5-bfd9-35c4a77d53d1%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/bcd68cfc-fe9e-4eb5-bfd9-35c4a77d53d1%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2DB22F2C-CDE2-4D49-B5A2-830E78AA11FD%40gmail.com. For more options, visit https://groups.google.com/d/optout.

