Fixed #4818 -- Improved 'Step 2' example in docs/databrowse.txt. Thanks, kevin@berndtgroup.net

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-08-12 03:59:09 +00:00
parent cc42b2fde8
commit dd0f5d9284
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ How to use Databrowse
2. Register a number of models with the Databrowse site:: 2. Register a number of models with the Databrowse site::
from django.contrib import databrowse from django.contrib import databrowse
from myapp.models import SomeModel, SomeOtherModel
databrowse.site.register(SomeModel) databrowse.site.register(SomeModel)
databrowse.site.register(SomeOtherModel) databrowse.site.register(SomeOtherModel)