From 039d121227313306a5cbd5805fba63e1e62996e1 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 20 Jul 2005 01:34:08 +0000 Subject: [PATCH] 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 --- docs/faq.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/faq.txt b/docs/faq.txt index f208ab771b..81d5497b5e 100644 --- a/docs/faq.txt +++ b/docs/faq.txt @@ -267,6 +267,23 @@ If you're sure your username and password are correct, make sure your user account has ``is_active`` and ``is_staff`` set to True. The admin site only allows access to users with those two fields both set to True. +How can I customize the functionality of the admin interface? +------------------------------------------------------------- + +You've got several options. If you want to piggyback on top of an add/change +form that Django automatically generates, you can attach arbitrary JavaScript +modules to the page via the model's ``admin.js`` parameter. That parameter is +a list of URLs, as strings, pointing to JavaScript modules that will be +included within the admin form via a