Closed jluttine closed 10 years ago
I'm not sure but it seems to me that the admin URL is hardcoded somehow incorrectly.
My Django-site has an URL similar to the following: http://domain.com/site-directory/
Normal admin pages work properly under: http://domain.com/site-directory/admin/
However, the views that I have added using django-admin-views try to use http://domain.com/admin/applabel/modlabel/myview/ which obviously does not work because it is not under site-directory.
Am I possibly doing something wrong or is this a bug?
I fixed it for my personal use using this commit: https://github.com/jluttine/django-admin-views/commit/45832eb2601eb79ce1de84f95286c3dbd3d40560
Not sure if that's a good solution in general..
Fixed in https://github.com/frankwiles/django-admin-views/pull/4
I'm not sure but it seems to me that the admin URL is hardcoded somehow incorrectly.
My Django-site has an URL similar to the following: http://domain.com/site-directory/
Normal admin pages work properly under: http://domain.com/site-directory/admin/
However, the views that I have added using django-admin-views try to use http://domain.com/admin/applabel/modlabel/myview/ which obviously does not work because it is not under site-directory.
Am I possibly doing something wrong or is this a bug?