Re: Help with admin views
Than you for your responses. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Help with admin views
> I'm guessing you can copy the templates for the admin site into your > local templates directory and modify them to your heart's content. If you create in the directory you store your templates a folder called admin you can copy in the templates from django source into there and edit them. What Django seems to do is look at your template directory first for an admin folder and if it can't find it, it goes to the templates from the source. To modify any of the admin templates all you have to do is recreate the contents of the django/contrib/admin/templates directory, from Django source, where ever the template directory is that you are pointing to in your settings.py Hope this helps and that I haven't confused anyone else but me Cheers Brian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
RE: Help with admin views
Check out the bottom of the tutorial (before the Comments section) at http://www.djangoproject.com/documentation/tutorial2/ There's a line that begins "For full details on customizing the look and feel of the Django admin site..." I'm guessing you can copy the templates for the admin site into your local templates directory and modify them to your heart's content. Hope this helps. Lord knows I need some help getting much past what's in the tutorial and book so far. -- Dave Living just a few blocks down the road from the Journal World. -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Fritchman Sent: Wednesday, November 29, 2006 5:55 AM To: Django users Subject: Help with admin views I am hoping some of you can give me a little start as to where I can read how to alter some of the admin pages. I have a a Person class in my model and I want to change both the view of people plus I want to change the form page where people are added and deleted. Any links or examples or tutorials who greatly be appreciated. Thank, Jim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---