首页 > 编程语言 >python3.9 + django4.1 + vue3 ,报错,无法访问配置的路由地址,Using the URLconf defined in StudentMgrBE.urls, Django

python3.9 + django4.1 + vue3 ,报错,无法访问配置的路由地址,Using the URLconf defined in StudentMgrBE.urls, Django

时间:2024-02-11 23:57:00浏览次数:39  
标签:patterns these 无法访问 StudentMgrBE defined 报错

python3.9 + django4.1 + vue3 ,报错,无法访问配置的路由地址,Using the URLconf defined in StudentMgrBE.urls, Django tried these URL patterns, in this order:

-------------------------------------------------------------------------------

无法访问 地址,

报错如下: 

Using the URLconf defined in StudentMgrBE.urls, Django tried these URL patterns, in this order:

  1. admin/

The current path, api/v1/, didn’t match any of these.

 

 

app中的 url.py内容如下,

 

 

 报错了 :

RuntimeError: Conflicting 'faculty' models in application 'studentweb': <class 'apps.studentweb.models.Faculty'> and <class 'studentweb.models.Faculty'>.

 

------------------------------

不知道怎么解决  ;

 

标签:patterns,these,无法访问,StudentMgrBE,defined,报错
From: https://www.cnblogs.com/yudao2015-youshendu/p/18013631

相关文章

  • springboot整合redis报错:链接失败;org.springframework.data.redis.RedisConnectionFai
    错误原因:开启了保护模式解决方案:关闭保护模式和防火墙具体步骤:1、打开你的redis配置文件,做出如下修改2.开启进程守护yes代表开启守护进程模式。在该模式下,redis会在后台运行,并将进程pid号写入至redis.conf选项pidfile设置的文件中,此时redis将一直运行,除非手动kill该进程。3.......
  • 解决jstack的报错:Unable to open socket file
    原文网址:​​解决jstack的报错:Unabletoopensocketfile_IT利刃出鞘的博客-CSDN博客​​简介说明本文介绍解决jstack的报错的方法,报错信息为:Unabletoopensocketfile。分享Java技术星球:​​自学精灵-IT技术星球​​详细报错信息:进程号:Unabletoopensocketfile:......
  • python3.9+django4.1+vue3 ,后端项目运行时,报错了,WSGI application 'XXX.wsgi.applicat
    python3.9+django4.1+vue3,后端项目运行时,报错了; 报错信息,如下:django.core.exceptions.ImproperlyConfigured:WSGIapplication'StudentMgrBE.wsgi.application'couldnotbeloaded;Errorimportingmodule.     ------------------------------百度......
  • python django4.1 pycharm,报错,Conflicting 'xxx' models in application 'xxx': <
    遇到了一个报错,不知道咋么解决,pythondjango3pycharm,报错。不晓得怎么解决;Conflicting'xxx'modelsinapplication'xxx':<class'xxx'>and<class'xxx'>.这个是 报错误 信息,如下:RuntimeError:Conflicting'faculty'modelsin......
  • SpringBoot 报错无法连接到Redis (Unable to connect to Redis)
    UnabletoconnecttoRedisSpringBoot3.1.2报错:UnabletoconnecttoRedis背景在搭建项目开发环境的时候,进行Redis相关的单元测试时发现无法连接到远程的Redis服务器。并且报错UnabletoconnecttoRedisRedis所在服务器UbuntuService64位20.04.06问题排查:检查基......
  • less报错,Error evaluating function `unit`: the first argument to unit must be a n
    1、less-loader版本太高了,可以降低版本2、lessc的执行参数里面增加一个参数--math=always3、可以关闭严格模式{loader:"less-loader",options:{lessOptions:{strictMath:false,},},}, 4、vite配置可以设置math:"always",......
  • 记录关于大质数分解,yafu的报错
    对于大数2071429833816044974954536074368801884287727405454085209645948528393680234127136376615797611252503400431993805403493488086095696658505168448366253578062167331677484261470172644587063010919601667672518341287987046343227762991666913049404040373329559365......
  • golang容器部署时区报错
    问题:consttimezone="Asia/Shanghai"funcTimeFormat(datetime.Time,patternstring)string{location,err:=time.LoadLocation(timezone)date.In(location)returndate.Format(pattern)} 1.在本地开发使用了时区是没有问题的,但是部署到服务器上面......
  • 【随手记录】harbor部署在国产arm服务器报错 502 Bad Gateway
    在国产arm服务器KyLinV11操作系统部署harbor仓库时候遇到502BadGateway 问题问题:502BadGatewaydockerlogin--username=xx--password=xxx10.23.5.10:18023WARNING!Using--passwordviatheCLIisinsecure.Use--password-stdin.Errorresponsefromdaemon:lo......
  • eslint报错:Parsing error: No Babel config file detected for E:\xxx\index.config
    eslint根据eslint配置文件的parserOption,知道了要使用babel对代码进行解析,但是解析babel需要使用babel配置文件,由于找不到配置文件(babel配置文件默认需要放在根目录下),所以会报错。因此,添加requireConfigFile:false,本质上是告诉eslint,不用查找这个配置文件了,虽然表面上可以解决这......