Skip to content
This repository has been archived by the owner on Nov 25, 2017. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 27, 2013

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

    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 committed Oct 27, 2013
    Configuration menu
    Copy the full SHA
    1594aef View commit details
    Browse the repository at this point in the history