[Answer]-Display images in admin with HTML

1👍

I think the cause is url(r'', 'home.views.load_home_content', name='home'),. r'' matches everything. Django checks urlpatterns in order, everything that doesn’t match r'^admin/' goes to r'', which is your home page. To fix it, try r'^$'

👤ZZY

Leave a comment