Content on this page is probably outdated and represents my personal knowledge, feelings and understading of things at that time.
So, I’m planing to do a mini series of (mostly) self notes on how to customize/add/remove various parts of Django’s auto generated admin area.
So for a quick start something easy/minimal, that I tend to forget.
def call(self, request, url):
"""
Delegate to the appropriate method, based on the URL.
"""
if url is None:
# default url handler
return super(PageAdmin, self).call(request, url)
elif url.endswith(‘move-page’):
return self.move_page(request, unquote(url[:-10]))