django-mobileadmin icon indicating copy to clipboard operation
django-mobileadmin copied to clipboard

mobiladmin is using admin's namespace for urls

Open h3 opened this issue 13 years ago • 0 comments

Therefor you cannot do this in templates

{% mobiladmin:index %}

{% mobiladmin:app_model_change object.id %}

To resolve the issue simply add this to the MobileAdminSite class in sites.py:

def __init__(self, *args, **kwargs):
    super(MobileAdminSite, self).__init__(*args, **kwargs)
    self.name = 'mobileadmin'

h3 avatar Apr 03 '11 17:04 h3