Dear Erik and James, Thanks for the insightful, deep answers to my questions.
This is invaluable information. Thanks again to both of you. Love and peace, Joe On Monday, May 16, 2016 at 10:19:36 AM UTC-7, JoeCodeswell wrote: > > How can I flush/clear database for single app, i.e. NOT the Project? > > I have a multi-app project. > In a particular app I created my model with single class. > I populated the db for that model with the Admin Interface. > Now i have changed the model to have 2 classes related by a ForeignKey. > I ran makemigrations on that app and it said, "you are trying to add a > non-nullable field 'song' to part without a default; we can't do that (the > database needs something to populate existing rows)." > I don't want to keep the existing populated tables for that app. > How can i start over for that app? > I can see this happening again and again for me. > > Thanks in advance. > Love and peace, > Joe > -- 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+unsubscr...@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/f3df79a1-1773-48f4-8141-9cef9054f6d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.