Oh, thanks!
On Monday, April 1, 2019 at 12:07:32 AM UTC+9, Robin Riis wrote:
-- On Monday, April 1, 2019 at 12:07:32 AM UTC+9, Robin Riis wrote:
Just re import and redeclare the variable?from app import modelx = thing.objects.all()Den sön 31 mars 2019 16:46Betty <kbk...@gmail.com> skrev: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...@googlegroups.com .
To post to this group, send email to django...@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 .
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/041b7c50-4adb-480b-bcf2-8b7e7e448d33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment