djangobook.com icon indicating copy to clipboard operation
djangobook.com copied to clipboard

Removed "mysite" from the "Adding Your Models to the Admin Site" section

Open stevencn opened this issue 12 years ago • 1 comments

Within the "Adding Your Models to the Admin Site" section, the code reads from django.contrib import admin from mysite.books.models import Publisher, Author, Book I removed mysite from this statement to read from django.contrib import admin from books.models import Publisher, Author, Book This is due to the fact that "mysite" caused an import error that was corrected by removing "mysite".

stevencn avatar Oct 27 '13 00:10 stevencn

i have update it in my repo. see commit

suhailvs avatar Jun 16 '14 03:06 suhailvs