Django-filer, URL that is 'seperate' from admin

旧城冷巷雨未停 提交于 2020-07-10 09:08:03

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!