mirror of
https://github.com/django/django.git
synced 2024-12-31 21:46:05 +00:00
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:
parent
cc42b2fde8
commit
dd0f5d9284
@ -35,6 +35,7 @@ How to use Databrowse
|
||||
2. Register a number of models with the Databrowse site::
|
||||
|
||||
from django.contrib import databrowse
|
||||
from myapp.models import SomeModel, SomeOtherModel
|
||||
|
||||
databrowse.site.register(SomeModel)
|
||||
databrowse.site.register(SomeOtherModel)
|
||||
|
Loading…
Reference in New Issue
Block a user