Sunday, March 31, 2019

How to use updated model.py from the shell

Hi all,

I am new to django and following tutorials.

I realized that even if I modified models.py while I was using shell(python manage.py shell) the modified models.py does not get recognized unless I restart the shell prompt.
Is there any other way to load my modified models.py by not restarting the shell prompt?

I appreciate any help!

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/090df280-8443-4441-96bd-3e92cb26de72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment