问题
I am trying to set up django-filer on my website. I cannot figure out how to get the URLS to be separate from the admin site on the website.
localhost:8000/admin/filer/folder/
Is where it wants to go now, which of course requires someone to have complete admin access in the /admin portion. I want them to have just filer access and be able to see the site. I have my base urls.py as:
urlpatterns = [
path('admin/', admin.site.urls),
path('accounts/', include('accounts.urls')), # new
path('accounts/', include('django.contrib.auth.urls')),
path('filer/', include('filer.server.urls')),
]
Going to localhost:8000/filer does nothing though? I was hoping I was able to create a local little dropbox functionality with my django website where registered users can use it, though they don't have to be admin in the /admin
Is this even possible? I didn't see it in the documentation for filer at all?
来源:https://stackoverflow.com/questions/57860790/django-filer-url-that-is-seperate-from-admin