Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added 'How can I customize the functionality of the admin interface?'…

… to FAQ

git-svn-id: http://code.djangoproject.com/svn/django/trunk@237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 039d121227313306a5cbd5805fba63e1e62996e1 1 parent a881193
Adrian Holovaty authored July 20, 2005

Showing 1 changed file with 17 additions and 0 deletions. Show diff stats Hide diff stats

  1. 17  docs/faq.txt
17  docs/faq.txt
@@ -267,6 +267,23 @@ If you're sure your username and password are correct, make sure your user
267 267
 account has ``is_active`` and ``is_staff`` set to True. The admin site only
268 268
 allows access to users with those two fields both set to True.
269 269
 
  270
+How can I customize the functionality of the admin interface?
  271
+-------------------------------------------------------------
  272
+
  273
+You've got several options. If you want to piggyback on top of an add/change
  274
+form that Django automatically generates, you can attach arbitrary JavaScript
  275
+modules to the page via the model's ``admin.js`` parameter. That parameter is
  276
+a list of URLs, as strings, pointing to JavaScript modules that will be
  277
+included within the admin form via a <script> tag.
  278
+
  279
+If you want more flexibility than simply tweaking the auto-generated forms,
  280
+feel free to write custom views for the admin. The admin is powered by Django
  281
+itself, and you can write custom views that hook into the authentication
  282
+system, check permissions and do whatever else they need to do.
  283
+
  284
+If you want to customize the look-and-feel of the admin interface, read the
  285
+next question.
  286
+
270 287
 The dynamically-generated admin site is ugly! How can I change it?
271 288
 ------------------------------------------------------------------
272 289
 

0 notes on commit 039d121

Please sign in to comment.
Something went wrong with that request. Please try again.