Open joeestes86 opened 9 years ago
I'm using the latest django 1.8 My urls.py looks this:
from django.contrib import admin from adminplus.sites import AdminSitePlus from django.conf.urls import include, url
admin.site = AdminSitePlus() admin.autodiscover()
urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^chaining/', include('smart_selects.urls')), ]
My view looks like this:
def my_view(request, _args, *_kwargs): pass admin.site.register_view('somepath', view=my_view)
When i go to
mysite.com/admin/somepath I get a 404. Do you know what I'm doing wrong?
Can you try with the latest (v0.4, which is out now) and see if it still fails? Make sure to follow the installation instructions for Django >=1.7.
I'm using the latest django 1.8 My urls.py looks this:
from django.contrib import admin from adminplus.sites import AdminSitePlus from django.conf.urls import include, url
admin.site = AdminSitePlus() admin.autodiscover()
urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^chaining/', include('smart_selects.urls')), ]
My view looks like this:
def my_view(request, _args, *_kwargs): pass admin.site.register_view('somepath', view=my_view)
When i go to
mysite.com/admin/somepath I get a 404. Do you know what I'm doing wrong?