Answer the question
In order to leave comments, you need to log in
How to solve error with Reverse for 'app_list' with arguments?
added to admin.py :
def get_admin_urls(urls):
def get_urls():
my_urls = patterns('',
(r'^service/expired_contracts/$', admin.site.admin_view(expired_contracts))
)
return my_urls + urls
return get_urls
admin_urls = get_admin_urls(admin.site.get_urls())
admin.site.get_urls = admin_urls
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question