Saturday, March 31, 2018

Re: When deleting field in models admin form not updating.

I had run migrations several times.  The last migration said "Nothing changed.".  However today when I rebooted my system the fields were gone so I guess the reboot took care of them.

Thanks for your reply.

On Saturday, March 31, 2018 at 12:54:14 AM UTC+8, Andrew Korir wrote:
have you tried to run migrations on that particular app in your django project

python manage.py makemigrations app_name

python manage.py migrate app_name

On Fri, Mar 30, 2018 at 4:27 PM, Gerald Brown <gsbr...@gmail.com> wrote:
I am using Django 2.0.3 and Python 3.6.  When I delete a field in the model file it is NOT being deleted in the admin form.  Any ideas on how I can delete the field on the admin form?

Thanks.

--
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...@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/3274bd21-77ec-4778-9af5-89c4c0daa12f%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/e110b475-f59f-4829-87f9-61eca6aaecc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment