[Answer]-Add an New app to django-oscar

1👍

When you use a ForeignKey you have to tell Django what model author_name is related to. Since its from another app it should look somehting like this.

author_name = models.ForeignKey('your_app_name.Modelname')

The app name is the other app you are taking the author from with the Model that the author is in.

https://docs.djangoproject.com/en/1.7/ref/models/fields/#foreignkey

👤Shaun

Leave a comment