Admin Site: TemplateDoesNotExist at /admin/

前端 未结 16 1807
鱼传尺愫
鱼传尺愫 2020-12-09 04:00

I\'m following Django\'s official Tutorial 2 but for some reason cannot create an admin site despite following all the steps correctly to my understanding.

This is t

16条回答
  •  独厮守ぢ
    2020-12-09 04:15

    for windows user the admin_tools in the templates section should be place in the begining
    
       'loaders': [
                **'admin_tools.template_loaders.Loader',**    
                'django.template.loaders.filesystem.Loader',
                'django.template.loaders.app_directories.Loader',
    

提交回复
热议问题